mirror of
https://github.com/Guardsquare/proguard.git
synced 2026-03-13 09:50:34 +08:00
Correct resolution strategy to handle the change of group-id
This commit is contained in:
@@ -77,7 +77,9 @@ project you can enable ProGuard instead of the default R8 compiler:
|
||||
...
|
||||
configurations.all {
|
||||
resolutionStrategy {
|
||||
force 'net.sf.proguard:proguard-gradle:7.0.0'
|
||||
dependencySubstitution {
|
||||
substitute module('net.sf.proguard:proguard-gradle') with module('com.guardsquare:proguard-gradle:7.0.0')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,9 @@ project you can enable ProGuard instead of the default R8 compiler:
|
||||
...
|
||||
configurations.all {
|
||||
resolutionStrategy {
|
||||
force 'net.sf.proguard:proguard-gradle:7.0.0'
|
||||
dependencySubstitution {
|
||||
substitute module('net.sf.proguard:proguard-gradle') with module('com.guardsquare:proguard-gradle:7.0.0')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,9 @@ buildscript {
|
||||
resolutionStrategy {
|
||||
// Override the default version of ProGuard
|
||||
// with the most recent one.
|
||||
force 'net.sf.proguard:proguard-gradle:7.0.0'
|
||||
dependencySubstitution {
|
||||
substitute module('net.sf.proguard:proguard-gradle') with module('com.guardsquare:proguard-gradle:7.0.0')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
0
examples/android/settings.gradle
Normal file
0
examples/android/settings.gradle
Normal file
Reference in New Issue
Block a user