From: David ‘Bombe’ Roden Date: Fri, 1 Nov 2019 22:25:18 +0000 (+0100) Subject: 💚 Use kotlin plugins from gradle plugin repo X-Git-Tag: v81^2~71 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=6e522415eab4cfd23dfb4ec9f02517002a26c81e;p=Sone.git 💚 Use kotlin plugins from gradle plugin repo --- 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') }