mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Upgrade build files
This commit is contained in:
parent
e1db27010c
commit
4d0bd8a3a3
@ -22,7 +22,7 @@ dependencies {
|
||||
implementation("org.spigotmc:spigot-api:1.14.4-R0.1-SNAPSHOT")
|
||||
compile(group: "com.sk89q.worldedit", name: "worldedit-bukkit", version: "7.0.0")
|
||||
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") {
|
||||
exclude(module: "bukkit")
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ def textVersion = "3.0.2"
|
||||
|
||||
dependencies {
|
||||
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")
|
||||
force = true
|
||||
}
|
||||
@ -14,10 +14,10 @@ dependencies {
|
||||
testCompileOnly("org.projectlombok:lombok:1.18.8")
|
||||
annotationProcessor("org.projectlombok:lombok:1.18.8")
|
||||
testAnnotationProcessor("org.projectlombok:lombok:1.18.8")
|
||||
implementation ("com.github.Sauilitired:Jenkins4J:2.0-SNAPSHOT")
|
||||
implementation ("com.squareup.okhttp3:okhttp:3.14.0")
|
||||
implementation ("com.squareup.okio:okio:2.2.2")
|
||||
implementation ("org.jetbrains.kotlin:kotlin-stdlib:1.3.30")
|
||||
implementation("com.github.Sauilitired:Jenkins4J:2.0-SNAPSHOT")
|
||||
implementation("com.squareup.okhttp3:okhttp:3.14.0")
|
||||
implementation("com.squareup.okio:okio:2.2.2")
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.3.30")
|
||||
}
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
|
12
build.gradle
12
build.gradle
@ -32,11 +32,11 @@ ext {
|
||||
git = Grgit.open(dir: new File(rootDir.toString() + "/.git"))
|
||||
date = git.head().getDate().format("yy.MM.dd")
|
||||
revision = "-${git.head().abbreviatedId}"
|
||||
parents = git.head().parentIds;
|
||||
parents = git.head().parentIds
|
||||
if (project.hasProperty("buildnumber")) {
|
||||
buildNumber = "$buildnumber"
|
||||
} else {
|
||||
index = -2042; // Offset to match CI
|
||||
index = -2042 // Offset to match CI
|
||||
for (; parents != null && !parents.isEmpty(); index++) {
|
||||
parents = git.getResolve().toCommit(parents.get(0)).getParentIds()
|
||||
}
|
||||
@ -67,10 +67,10 @@ subprojects {
|
||||
exclude(module: "mockito-core")
|
||||
exclude(module: "dummypermscompat")
|
||||
}
|
||||
implementation ("net.kyori:text-api: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-plain: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-legacy:3.0.2")
|
||||
implementation("net.kyori:text-serializer-plain:3.0.2")
|
||||
implementation("com.google.guava:guava:21.0") {
|
||||
because("Minecraft uses Guava 21 as of 1.13")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user