Skip to content

Commit

Permalink
Merge pull request #1201 from docToolchain/1200-jcenter-kills-doctool…
Browse files Browse the repository at this point in the history
…chain-as-grolifant-is-not-available-on-maven-central

fix dependency to jcenter fix #1200
  • Loading branch information
rdmueller committed Jun 24, 2023
2 parents 6e5cef2 + 9bda2b5 commit a13c273
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions build.gradle
@@ -1,5 +1,24 @@
import java.util.zip.ZipFile

// fix versions for #1200
buildscript {
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.ysb33r.gradle' && details.requested.name == 'grolifant' && details.requested.version == '0.12.1') {
details.useVersion '0.16.1'
details.because 'jcenter redirect'
System.out.println ">>>>>>>>> fix grolifant"
}
if (details.requested.group == 'org.codehaus.groovy.modules.http-builder' && details.requested.name == 'http-builder' && details.requested.version == '0.7.2') {
details.useVersion '0.7.1'
details.because 'jcenter redirect'
System.out.println ">>>>>>>>> fix http-builder"
}
}
}
}
// /fix versions for #1200

/*
* This build file is part of the docToolchain
*/
Expand Down

0 comments on commit a13c273

Please sign in to comment.