diff --git a/gradle/buildscript.gradle b/gradle/buildscript.gradle index e11039ba9b..b557098514 100644 --- a/gradle/buildscript.gradle +++ b/gradle/buildscript.gradle @@ -19,10 +19,15 @@ repositories { repositories { // For plugins listed below - maven { - url "https://plugins.gradle.org/m2/" - } - jcenter() + gradlePluginPortal() + } +} + +configurations.classpath { + resolutionStrategy.dependencySubstitution { + substitute(module("com.burgstaller:okhttp-digest")) + .using(module("io.github.rburgst:okhttp-digest:1.21")) + .because('JCenter Shutdown - okhttp-digest 1.21 the minimum version available in Maven Central, but under the io.github.rburgst group') } } @@ -30,4 +35,9 @@ dependencies { classpath 'de.obqo.gradle:gradle-lesscss-plugin:1.0-1.3.3' classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1' classpath 'com.github.jruby-gradle:jruby-gradle-plugin:2.0.2' + constraints { + classpath('org.ysb33r.gradle:grolifant:0.12.1') { + because 'JCenter Shutdown - grolifant 0.12.1 the minimum version available in Maven Central' + } + } }