X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=build.gradle;h=bff41431db127fd862ef58bb6ed41eb9d29d63bb;hp=3a2f0020fc50379af9a120106c318c982558154a;hb=refs%2Fheads%2Fadd-audio-player;hpb=bfc5ea58b53dd2444f9d79cbdd4a6387ec839334 diff --git a/build.gradle b/build.gradle index 3a2f002..bff4143 100644 --- a/build.gradle +++ b/build.gradle @@ -1,18 +1,13 @@ -group = 'net.pterodactylus' -version = '80' -buildscript { - ext.kotlinVersion = '1.3.41' - repositories { - mavenCentral() - } - dependencies { - classpath group: 'info.solidsoft.gradle.pitest', name: 'gradle-pitest-plugin', version: '1.4.0' - 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' } +group = 'net.pterodactylus' +version = '80' + repositories { mavenCentral() maven { url "https://maven.pterodactylus.net/" } @@ -27,8 +22,6 @@ tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } -apply plugin: 'kotlin' - configurations { provided { dependencies.all { dep -> @@ -54,6 +47,7 @@ dependencies { compile group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2' compile group: 'org.jsoup', name: 'jsoup', version: '1.10.2' compile group: 'io.dropwizard.metrics', name: 'metrics-core', version: '4.1.0' + compile group: 'javax.activation', name: 'javax.activation-api', version: '1.2.0' testCompile group: 'org.jetbrains.kotlin', name: 'kotlin-test-junit' testCompile group: 'junit', name: 'junit', version: '4.11' @@ -89,14 +83,13 @@ javadoc { apply plugin: 'jacoco' jacoco { - toolVersion = '0.7.9' + toolVersion = '0.8.4' } jacocoTestReport.dependsOn test -apply plugin: 'info.solidsoft.pitest' - pitest { + pitestVersion = '1.4.10' outputFormats = ['HTML', 'XML'] timestampedReports = false timeoutFactor = 3.0 @@ -128,8 +121,6 @@ task countLines { dependsOn tasks.countLinesTest } -apply plugin: 'kotlin-noarg' - noArg { annotation('net.pterodactylus.sone.main.NoArg') }