X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=build.gradle;h=d741269f2b4bcc78df18f8d239a601f90e75b7c3;hb=5f5340b459ea81938147f5e0c3a2cda63c5b68d1;hp=b8ea16cbc7bc298c05b47289c8544d45ebab0313;hpb=7625c3f0be6df7e5fe2fc3b58019614f8a915888;p=Sone.git diff --git a/build.gradle b/build.gradle index b8ea16c..d741269 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.4.32' + id 'org.jetbrains.kotlin.plugin.noarg' version '1.4.32' 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')