Factor out common versions in build files
This commit is contained in:
parent
fd69f74b22
commit
44fb0e00b3
5 changed files with 23 additions and 19 deletions
|
|
@ -5,13 +5,13 @@ version = rootProject.version
|
|||
archivesBaseName = rootProject.name + '-Bukkit'
|
||||
|
||||
dependencies {
|
||||
implementation "com.github.FrankHeijden.cloud:cloud-paper:${rootProject.cloudVersion}"
|
||||
implementation 'net.kyori:adventure-api:4.8.1'
|
||||
implementation 'net.kyori:adventure-platform-bukkit:4.0.0-SNAPSHOT'
|
||||
implementation ('net.kyori:adventure-text-minimessage:4.1.0-SNAPSHOT') {
|
||||
implementation "cloud.commandframework:cloud-paper:${rootProject.cloudVersion}"
|
||||
implementation "net.kyori:adventure-api:${rootProject.adventureVersion}"
|
||||
implementation "net.kyori:adventure-platform-bukkit:${rootProject.adventurePlatformVersion}"
|
||||
implementation ("net.kyori:adventure-text-minimessage:${rootProject.adventureMinimessageVersion}") {
|
||||
exclude group: 'net.kyori', module: 'adventure-api'
|
||||
}
|
||||
implementation 'org.bstats:bstats-bukkit:2.2.1'
|
||||
implementation "org.bstats:bstats-bukkit:${rootProject.bstatsVersion}"
|
||||
implementation project(":Common")
|
||||
compileOnly 'com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT'
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,13 +9,13 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation "com.github.FrankHeijden.cloud:cloud-bungee:${rootProject.cloudVersion}"
|
||||
implementation 'net.kyori:adventure-api:4.8.1'
|
||||
implementation 'net.kyori:adventure-platform-bungeecord:4.0.0-SNAPSHOT'
|
||||
implementation ('net.kyori:adventure-text-minimessage:4.1.0-SNAPSHOT') {
|
||||
implementation "cloud.commandframework:cloud-bungee:${rootProject.cloudVersion}"
|
||||
implementation "net.kyori:adventure-api:${rootProject.adventureVersion}"
|
||||
implementation "net.kyori:adventure-platform-bungeecord:${rootProject.adventurePlatformVersion}"
|
||||
implementation ("net.kyori:adventure-text-minimessage:${rootProject.adventureMinimessageVersion}") {
|
||||
exclude group: 'net.kyori', module: 'adventure-api'
|
||||
}
|
||||
implementation 'org.bstats:bstats-bungeecord:2.2.1'
|
||||
implementation "org.bstats:bstats-bungeecord:${rootProject.bstatsVersion}"
|
||||
implementation project(":Common")
|
||||
compileOnly 'net.md-5:bungeecord-api:1.17-R0.1-SNAPSHOT'
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,11 +11,11 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly 'net.kyori:adventure-platform-api:4.0.0-SNAPSHOT'
|
||||
compileOnly 'net.kyori:adventure-text-minimessage:4.1.0-SNAPSHOT'
|
||||
compileOnly "net.kyori:adventure-platform-api:${rootProject.adventurePlatformVersion}"
|
||||
compileOnly "net.kyori:adventure-text-minimessage:${rootProject.adventureMinimessageVersion}"
|
||||
compileOnly 'com.github.FrankHeijden:ServerUtilsUpdater:v1.0.0'
|
||||
|
||||
testImplementation 'net.kyori:adventure-text-serializer-plain:4.8.1'
|
||||
testImplementation "net.kyori:adventure-text-serializer-plain:${rootProject.adventureVersion}"
|
||||
}
|
||||
|
||||
blossom {
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation "com.github.FrankHeijden.cloud:cloud-velocity:${rootProject.cloudVersion}"
|
||||
implementation 'org.bstats:bstats-velocity:2.2.1'
|
||||
implementation "cloud.commandframework:cloud-velocity:${rootProject.cloudVersion}"
|
||||
implementation "org.bstats:bstats-velocity:${rootProject.bstatsVersion}"
|
||||
implementation project(":Common")
|
||||
implementation ('net.kyori:adventure-text-minimessage:4.1.0-SNAPSHOT') {
|
||||
implementation ("net.kyori:adventure-text-minimessage:${rootProject.adventureMinimessageVersion}") {
|
||||
exclude group: 'net.kyori', module: 'adventure-api'
|
||||
}
|
||||
compileOnly 'com.velocitypowered:velocity-api:3.0.0'
|
||||
|
|
|
|||
10
build.gradle
10
build.gradle
|
|
@ -9,7 +9,11 @@ version = '3.0.0-DEV'
|
|||
|
||||
allprojects {
|
||||
ext {
|
||||
cloudVersion = '62e3bc97ef'
|
||||
cloudVersion = '1.6.0-SNAPSHOT'
|
||||
adventureVersion = '4.8.1'
|
||||
adventurePlatformVersion = '4.0.0-SNAPSHOT'
|
||||
adventureMinimessageVersion = '4.1.0-SNAPSHOT'
|
||||
bstatsVersion = '2.2.1'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -31,8 +35,8 @@ subprojects {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation "com.github.FrankHeijden.cloud:cloud-core:${rootProject.cloudVersion}"
|
||||
implementation "com.github.FrankHeijden.cloud:cloud-brigadier:${rootProject.cloudVersion}"
|
||||
implementation "cloud.commandframework:cloud-core:${rootProject.cloudVersion}"
|
||||
implementation "cloud.commandframework:cloud-brigadier:${rootProject.cloudVersion}"
|
||||
implementation 'com.github.FrankHeijden:MinecraftReflection:1.0.0'
|
||||
implementation 'com.google.guava:guava:30.1.1-jre'
|
||||
implementation 'com.google.code.gson:gson:2.8.6'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue