Removed redundant maven repository dependencies.

master
James T. Martin 2020-12-02 13:17:27 -08:00
parent 3570b7ddab
commit 2c198b84a0
Signed by: james
GPG Key ID: 4B7F3DA9351E577C
3 changed files with 16 additions and 14 deletions

View File

@ -9,7 +9,7 @@ sourceCompatibility = 8
repositories { repositories {
mavenCentral() mavenCentral()
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'

View File

@ -8,19 +8,19 @@ version '0.1.0'
sourceCompatibility = 8 sourceCompatibility = 8
repositories { repositories {
mavenCentral() mavenCentral()
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
content { maven {
includeGroup 'org.bukkit' url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
includeGroup 'org.spigotmc'
content {
includeGroup 'org.bukkit'
includeGroup 'org.spigotmc'
}
} }
}
} }
dependencies { dependencies {
compileOnly 'org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT' compileOnly 'org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT'
compileOnly 'com.google.guava:guava:21.0' compileOnly 'com.google.guava:guava:21.0'
} }

View File

@ -5,7 +5,7 @@ plugins {
group 'me.jamestmartin' group 'me.jamestmartin'
version '0.1.0' version '0.1.0'
sourceCompatibility = 14 sourceCompatibility = 8
repositories { repositories {
mavenCentral() mavenCentral()
@ -19,8 +19,6 @@ repositories {
} }
} }
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { maven {
name = "Towny" name = "Towny"
url = "https://maven.pkg.github.com/TownyAdvanced/Towny" url = "https://maven.pkg.github.com/TownyAdvanced/Towny"
@ -28,6 +26,10 @@ repositories {
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR") username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN") password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
} }
content {
includeGroup 'com.palmergames.bukkit.towny'
}
} }
} }