Correct resolution strategy to handle the change of group-id

This commit is contained in:
Eric Salemi
2020-06-06 18:13:54 +02:00
committed by GitHub
parent d7a56bde06
commit fa4686cf42
4 changed files with 9 additions and 3 deletions

View File

@@ -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')
}
}
}
}

View File

@@ -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')
}
}
}
}

View File

@@ -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')
}
}
}
}

View File