X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=build.gradle;h=4fd4adabb835e107629e63186a3a5422e55d755b;hp=0beb42ac696ee5de6e104cb0d76e60f7e3d91e73;hb=6d9add74f45486ca976c63180cf1c8296a67e66e;hpb=41ca6590c4a7372cb4f687f6e3cfdc2fab232703 diff --git a/build.gradle b/build.gradle index 0beb42a..4fd4ada 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ group = 'net.pterodactylus' version = '80' buildscript { - ext.kotlinVersion = '1.2.71' + ext.kotlinVersion = '1.3.50' repositories { mavenCentral() } @@ -20,8 +20,8 @@ repositories { apply plugin: 'java' -sourceCompatibility = 1.7 -targetCompatibility = 1.7 +sourceCompatibility = 1.8 +targetCompatibility = 1.8 tasks.withType(JavaCompile) { options.encoding = 'UTF-8' @@ -43,7 +43,9 @@ dependencies { provided group: 'org.freenetproject', name: 'freenet-ext', version: '29' provided group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.54' - compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib' + compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8' + compile group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: '1.3.0-RC' + compile group: 'net.pterodactylus', name: 'utils', version: '0.12.4' compile group: 'com.google.inject', name: 'guice', version: '4.2.2' compile group: 'com.google.guava', name: 'guava', version: '27.0.1-android' @@ -51,10 +53,12 @@ dependencies { compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: '2.9.1' 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' - testCompile group: 'org.mockito', name: 'mockito-core', version: '2.10.0' + testCompile group: 'org.mockito', name: 'mockito-core', version: '2.28.2' testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3' } @@ -86,7 +90,7 @@ javadoc { apply plugin: 'jacoco' jacoco { - toolVersion = '0.7.9' + toolVersion = '0.8.4' } jacocoTestReport.dependsOn test