pcgen
pcgen copied to clipboard
fix Gradle issues with JCenter outage Jan 12 2021.
How does this fix it? Does the main gradle build file not supply this info already?
I was having Gradle builds fail on my fork due to JCenter outage. I found this as an option here: https://discuss.gradle.org/t/plugins-redirecting-to-jcenter/41909/6 Plugged it in and the build worked, and thought it would be helpful to pass it upstream.
I think the repositories are defined in build.gradle:
Maybe add to that block instead?
repositories {
mavenCentral()
ivy {
url "http://pcgen.sourceforge.net/mvnrepo"
allowInsecureProtocol = true
patternLayout {
artifact "[organisation]/jars/[artifact]-[revision].[ext]"
}
}
ivy {
name "fileRepo"
url 'http://pc-gen.org/librepo/'
allowInsecureProtocol = true
}
maven {
url "https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/"
}
}
This issue resolved itself