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 {
mavenCentral()
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'

View File

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

View File

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