X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=build.gradle;h=bff41431db127fd862ef58bb6ed41eb9d29d63bb;hb=a01e3b29a9dab0f8db0fbbdf718747229300781b;hp=4d05c3df19004b02a828c5adef6570e94eb889ea;hpb=aaec1569ff167133bb2d5d665be5b5fe15bedcd5;p=Sone.git diff --git a/build.gradle b/build.gradle index 4d05c3d..bff4143 100644 --- a/build.gradle +++ b/build.gradle @@ -1,15 +1,7 @@ -buildscript { - ext.kotlinVersion = '1.3.50' - repositories { - mavenCentral() - } - dependencies { - classpath group: 'org.jetbrains.kotlin', name: 'kotlin-gradle-plugin', version: kotlinVersion - classpath group: 'org.jetbrains.kotlin', name: 'kotlin-noarg', version: kotlinVersion - } -} plugins { + id 'org.jetbrains.kotlin.jvm' version '1.3.50' + id 'org.jetbrains.kotlin.plugin.noarg' version '1.3.50' id 'info.solidsoft.pitest' version '1.4.5' } @@ -30,8 +22,6 @@ tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } -apply plugin: 'kotlin' - configurations { provided { dependencies.all { dep -> @@ -131,8 +121,6 @@ task countLines { dependsOn tasks.countLinesTest } -apply plugin: 'kotlin-noarg' - noArg { annotation('net.pterodactylus.sone.main.NoArg') }