extract spigot api as a common dependency so the versions always match
This commit is contained in:
parent
2ff5322093
commit
9c7166df4b
3 changed files with 4 additions and 6 deletions
|
@ -3,10 +3,6 @@ plugins {
|
|||
id "maven-publish"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly "org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT"
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
|
|
|
@ -8,6 +8,10 @@ subprojects {
|
|||
toolchain.languageVersion.set(JavaLanguageVersion.of(8))
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly "org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT"
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven {
|
||||
|
|
|
@ -16,8 +16,6 @@ processResources {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly "org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT"
|
||||
|
||||
compileOnly "me.clip:placeholderapi:2.11.3" // Placeholder support
|
||||
implementation "com.google.code.gson:gson:2.10.1" // JSON parsing
|
||||
implementation "org.bstats:bstats-bukkit:3.0.2" // Plugin stats
|
||||
|
|
Loading…
Reference in a new issue