anatawa12 / ForgeGradle-2.3

This is only for FG_2.3(for minecraft 1.12.2). Minecraft mod development framework used by Forge and FML for the gradle build system
GNU Lesser General Public License v2.1
32 stars 9 forks source link

JCenter is going to be closed #6

Closed anatawa12 closed 3 years ago

anatawa12 commented 3 years ago

Offical blog: Into the Sunset on May 1st: Bintray, JCenter, GoCenter, and ChartCenter

JCenter, the maven repository for this repository is going to be closed at May 1st. So I'll re-upload all binaries to maven central and need to upload newer binaries to mavenCentral.

Tasks

The way to detect mavenCentral and jcenter()

We can get list of repositories for buildscript by project.getBuildScript().getRepositories() and we can get URL of repository by MavenArtifactRepository.getUrl(). so we can find mavenCentral by it.