From 6e522415eab4cfd23dfb4ec9f02517002a26c81e Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 1 Nov 2019 23:25:18 +0100 Subject: [PATCH] =?utf8?q?=F0=9F=92=9A=20Use=20kotlin=20plugins=20from=20g?= =?utf8?q?radle=20plugin=20repo?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- build.gradle | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) 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') } -- 2.7.4