Update build.gradle

This commit is contained in:
CrazyCloudCraft | Argantiu 2022-07-16 17:13:10 +02:00 committed by GitHub
parent da1ed411c9
commit 9c410fbf92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,22 +3,7 @@ buildscript {
jcenter() { jcenter() {
allowInsecureProtocol = true allowInsecureProtocol = true
} }
maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
content {
includeGroup 'org.bukkit'
includeGroup 'org.spigotmc'
}
maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/bukkit/bukkit/'
}
maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/spigotmc/spigot-api/'
}
}
mavenCentral() mavenCentral()
mavenLocal()
} }
} }
@ -148,22 +133,22 @@ repositories {
jcenter() { jcenter() {
allowInsecureProtocol = true allowInsecureProtocol = true
} }
maven { // maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' // url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
content { // content {
includeGroup 'org.bukkit' // includeGroup 'org.bukkit'
includeGroup 'org.spigotmc' // includeGroup 'org.spigotmc'
} // }
maven { // maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/bukkit/bukkit/' // url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/bukkit/bukkit/'
} // }
maven { // maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/spigotmc/spigot-api/' // url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/spigotmc/spigot-api/'
} // }
} // }
mavenCentral() mavenCentral()
mavenLocal() // mavenLocal()
spigot() spigot()
// bungeecord() // bungeecord()
@ -171,10 +156,10 @@ repositories {
// protocolLib() // protocolLib()
// enginehub() // enginehub()
maven { maven {
url = 'https://oss.sonatype.org/content/repositories/snapshots' url = 'https://oss.sonatype.org/content/repositories/snapshots/'
} }
maven { maven {
url = 'https://oss.sonatype.org/content/repositories/central' url = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
} }
maven { maven {
url 'https://hub.spigotmc.org/nexus/content/repositories/public/' url 'https://hub.spigotmc.org/nexus/content/repositories/public/'
@ -215,6 +200,15 @@ repositories {
mavenLocal() mavenLocal()
} }
//nexusPublishing {
// repositories {
// sonatype {
// nexusUrl.set(URI.create("https://s01.oss.sonatype.org/service/local/"))
// snapshotRepositoryUrl.set(URI.create("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
// }
// }
//}
dependencies { dependencies {
constraints { constraints {
implementation("org.yaml:snakeyaml") { implementation("org.yaml:snakeyaml") {