X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=build.gradle;h=d0b159cfe38f852502034191934736fbbabfa8c3;hb=06341a31cb9d80b027e395510e93c078aa988fcf;hp=b8ea16cbc7bc298c05b47289c8544d45ebab0313;hpb=7625c3f0be6df7e5fe2fc3b58019614f8a915888;p=Sone.git diff --git a/build.gradle b/build.gradle index b8ea16c..d0b159c 100644 --- a/build.gradle +++ b/build.gradle @@ -1,13 +1,13 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { - id 'org.jetbrains.kotlin.jvm' version '1.3.70' - id 'org.jetbrains.kotlin.plugin.noarg' version '1.3.70' + id 'org.jetbrains.kotlin.jvm' version '1.3.72' + id 'org.jetbrains.kotlin.plugin.noarg' version '1.3.72' id 'info.solidsoft.pitest' version '1.4.5' } group = 'net.pterodactylus' -version = '81' +version = '82' repositories { mavenCentral() @@ -26,6 +26,7 @@ tasks.withType(JavaCompile) { tasks.withType(KotlinCompile) { kotlinOptions { jvmTarget = "1.8" + freeCompilerArgs += '-Xjvm-default=enable' } } @@ -76,6 +77,7 @@ task notParallelTest(type: Test) { useJUnit { includeCategories 'net.pterodactylus.sone.test.NotParallel' } + dependsOn parallelTest } test { @@ -84,7 +86,7 @@ test { } task fatJar(type: Jar) { - archiveName = project.name.toLowerCase() + '-jar-with-dependencies.jar' + archiveFileName = project.name.toLowerCase() + '-jar-with-dependencies.jar' from { (configurations.runtime - configurations.provided).collect { it.isDirectory() ? it : zipTree(it) } } manifest { attributes('Plugin-Main-Class': 'net.pterodactylus.sone.main.SonePlugin')