From 4d0bd8a3a35956e3bd5824d456bd703d0344945c Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Wed, 4 Sep 2019 03:04:51 +0200 Subject: [PATCH] Upgrade build files --- Bukkit/build.gradle | 2 +- Core/build.gradle | 10 +++++----- build.gradle | 12 ++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Bukkit/build.gradle b/Bukkit/build.gradle index 5fe453bd7..237c0740e 100644 --- a/Bukkit/build.gradle +++ b/Bukkit/build.gradle @@ -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") } diff --git a/Core/build.gradle b/Core/build.gradle index 3cbf8f555..53f305992 100644 --- a/Core/build.gradle +++ b/Core/build.gradle @@ -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 diff --git a/build.gradle b/build.gradle index 64a344f80..f2afef586 100644 --- a/build.gradle +++ b/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") }