Fix issues

Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
This commit is contained in:
solonovamax
2020-11-12 19:08:18 -05:00
parent e7185482f2
commit 816365cffc
+6 -6
View File
@@ -30,7 +30,7 @@ java {
targetCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8
} }
val versionObj = Version("1", "3", "0", true) val versionObj = Version("1", "3", "1", true)
version = versionObj version = versionObj
dependencies { dependencies {
@@ -142,7 +142,7 @@ val testWithPaper = task<JavaExec>(name = "testWithPaper") {
"-XX:InitiatingHeapOccupancyPercent=15", "-XX:G1MixedGCLiveThresholdPercent=90", "-XX:InitiatingHeapOccupancyPercent=15", "-XX:G1MixedGCLiveThresholdPercent=90",
"-XX:G1RSetUpdatingPauseTimePercent=5", "-XX:SurvivorRatio=32", "-XX:+PerfDisableSharedMem", "-XX:G1RSetUpdatingPauseTimePercent=5", "-XX:SurvivorRatio=32", "-XX:+PerfDisableSharedMem",
"-XX:MaxTenuringThreshold=1", "-Dusing.aikars.flags=https://mcflags.emc.gs", "-XX:MaxTenuringThreshold=1", "-Dusing.aikars.flags=https://mcflags.emc.gs",
"-Daikars.new.flags=true") "-Daikars.new.flags=true", "-DIReallyKnowWhatIAmDoingISwear")
maxHeapSize = "2G" maxHeapSize = "2G"
args = listOf("nogui") args = listOf("nogui")
workingDir = file("${testDir}/") workingDir = file("${testDir}/")
@@ -153,10 +153,10 @@ tasks.named<ShadowJar>("shadowJar") {
archiveClassifier.set("") archiveClassifier.set("")
archiveBaseName.set("Terra") archiveBaseName.set("Terra")
setVersion(project.version) setVersion(project.version)
relocate("org.apache.commons", "lib.commons") relocate("org.apache.commons", "com.dfsek.terra.lib.commons")
relocate("org.bstats.bukkit", "lib.bstats") relocate("org.bstats.bukkit", "com.dfsek.terra.lib.bstats")
relocate("parsii", "lib.parsii") relocate("parsii", "com.dfsek.terra.lib.parsii")
relocate("io.papermc.lib", "lib.paperlib") relocate("io.papermc.lib", "com.dfsek.terra.lib.paperlib")
} }
tasks.build { tasks.build {