Skip to content

Commit

Permalink
Handle transitive buildscript dependencies that were only present in …
Browse files Browse the repository at this point in the history
…JCenter
  • Loading branch information
clayburn committed Aug 1, 2024
1 parent 2eb556a commit 5b518a1
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions gradle/buildscript.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,25 @@
repositories {
repositories {
// For plugins listed below
maven {
url "https://plugins.gradle.org/m2/"
}
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')
}
}

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

0 comments on commit 5b518a1

Please sign in to comment.