mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Upgrade build files
This commit is contained in:
parent
e1db27010c
commit
4d0bd8a3a3
3 changed files with 12 additions and 12 deletions
|
@ -22,7 +22,7 @@ dependencies {
|
||||||
implementation("org.spigotmc:spigot-api:1.14.4-R0.1-SNAPSHOT")
|
implementation("org.spigotmc:spigot-api:1.14.4-R0.1-SNAPSHOT")
|
||||||
compile(group: "com.sk89q.worldedit", name: "worldedit-bukkit", version: "7.0.0")
|
compile(group: "com.sk89q.worldedit", name: "worldedit-bukkit", version: "7.0.0")
|
||||||
compile("io.papermc:paperlib:1.0.2")
|
compile("io.papermc:paperlib:1.0.2")
|
||||||
implementation ("net.kyori:text-adapter-bukkit:3.0.3")
|
implementation("net.kyori:text-adapter-bukkit:3.0.3")
|
||||||
compile("net.milkbowl.vault:VaultAPI:1.7") {
|
compile("net.milkbowl.vault:VaultAPI:1.7") {
|
||||||
exclude(module: "bukkit")
|
exclude(module: "bukkit")
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@ def textVersion = "3.0.2"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("org.yaml:snakeyaml:1.23")
|
implementation("org.yaml:snakeyaml:1.23")
|
||||||
implementation ("com.google.code.gson:gson:2.8.0") {
|
implementation("com.google.code.gson:gson:2.8.0") {
|
||||||
because("Minecraft uses GSON 2.8.0")
|
because("Minecraft uses GSON 2.8.0")
|
||||||
force = true
|
force = true
|
||||||
}
|
}
|
||||||
|
@ -14,10 +14,10 @@ dependencies {
|
||||||
testCompileOnly("org.projectlombok:lombok:1.18.8")
|
testCompileOnly("org.projectlombok:lombok:1.18.8")
|
||||||
annotationProcessor("org.projectlombok:lombok:1.18.8")
|
annotationProcessor("org.projectlombok:lombok:1.18.8")
|
||||||
testAnnotationProcessor("org.projectlombok:lombok:1.18.8")
|
testAnnotationProcessor("org.projectlombok:lombok:1.18.8")
|
||||||
implementation ("com.github.Sauilitired:Jenkins4J:2.0-SNAPSHOT")
|
implementation("com.github.Sauilitired:Jenkins4J:2.0-SNAPSHOT")
|
||||||
implementation ("com.squareup.okhttp3:okhttp:3.14.0")
|
implementation("com.squareup.okhttp3:okhttp:3.14.0")
|
||||||
implementation ("com.squareup.okio:okio:2.2.2")
|
implementation("com.squareup.okio:okio:2.2.2")
|
||||||
implementation ("org.jetbrains.kotlin:kotlin-stdlib:1.3.30")
|
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.3.30")
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
12
build.gradle
12
build.gradle
|
@ -32,11 +32,11 @@ ext {
|
||||||
git = Grgit.open(dir: new File(rootDir.toString() + "/.git"))
|
git = Grgit.open(dir: new File(rootDir.toString() + "/.git"))
|
||||||
date = git.head().getDate().format("yy.MM.dd")
|
date = git.head().getDate().format("yy.MM.dd")
|
||||||
revision = "-${git.head().abbreviatedId}"
|
revision = "-${git.head().abbreviatedId}"
|
||||||
parents = git.head().parentIds;
|
parents = git.head().parentIds
|
||||||
if (project.hasProperty("buildnumber")) {
|
if (project.hasProperty("buildnumber")) {
|
||||||
buildNumber = "$buildnumber"
|
buildNumber = "$buildnumber"
|
||||||
} else {
|
} else {
|
||||||
index = -2042; // Offset to match CI
|
index = -2042 // Offset to match CI
|
||||||
for (; parents != null && !parents.isEmpty(); index++) {
|
for (; parents != null && !parents.isEmpty(); index++) {
|
||||||
parents = git.getResolve().toCommit(parents.get(0)).getParentIds()
|
parents = git.getResolve().toCommit(parents.get(0)).getParentIds()
|
||||||
}
|
}
|
||||||
|
@ -67,10 +67,10 @@ subprojects {
|
||||||
exclude(module: "mockito-core")
|
exclude(module: "mockito-core")
|
||||||
exclude(module: "dummypermscompat")
|
exclude(module: "dummypermscompat")
|
||||||
}
|
}
|
||||||
implementation ("net.kyori:text-api:3.0.2")
|
implementation("net.kyori:text-api:3.0.2")
|
||||||
implementation ("net.kyori:text-serializer-gson:3.0.2")
|
implementation("net.kyori:text-serializer-gson:3.0.2")
|
||||||
implementation ("net.kyori:text-serializer-legacy:3.0.2")
|
implementation("net.kyori:text-serializer-legacy:3.0.2")
|
||||||
implementation ("net.kyori:text-serializer-plain:3.0.2")
|
implementation("net.kyori:text-serializer-plain:3.0.2")
|
||||||
implementation("com.google.guava:guava:21.0") {
|
implementation("com.google.guava:guava:21.0") {
|
||||||
because("Minecraft uses Guava 21 as of 1.13")
|
because("Minecraft uses Guava 21 as of 1.13")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue