43 lines
1016 B
Groovy
43 lines
1016 B
Groovy
plugins {
|
|
id 'java-library'
|
|
}
|
|
|
|
group 'me.jamestmartin'
|
|
version '0.1.0'
|
|
|
|
sourceCompatibility = 8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
|
|
maven {
|
|
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
|
|
|
|
content {
|
|
includeGroup 'org.bukkit'
|
|
includeGroup 'org.spigotmc'
|
|
}
|
|
}
|
|
|
|
maven {
|
|
name = "Towny"
|
|
url = "https://maven.pkg.github.com/TownyAdvanced/Towny"
|
|
credentials {
|
|
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")
|
|
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
|
|
}
|
|
|
|
content {
|
|
includeGroup 'com.palmergames.bukkit.towny'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// APIs and libraries provided with the server distribution
|
|
compileOnly 'org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT'
|
|
compileOnly 'com.google.guava:guava:21.0'
|
|
|
|
// Plugin APIs
|
|
compileOnly 'com.palmergames.bukkit.towny:Towny:0.96.2.17'
|
|
} |