pcgen icon indicating copy to clipboard operation
pcgen copied to clipboard

fix Gradle issues with JCenter outage Jan 12 2021.

Open tildar opened this issue 3 years ago • 3 comments

tildar avatar Jan 13 '22 01:01 tildar

How does this fix it? Does the main gradle build file not supply this info already?

karianna avatar Jan 13 '22 11:01 karianna

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.

tildar avatar Jan 13 '22 17:01 tildar

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/"
    }
}

karianna avatar Jan 14 '22 13:01 karianna

This issue resolved itself

karianna avatar Feb 15 '23 06:02 karianna