X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=build.gradle;h=dc7878c9b368135c3b16bd9fbf80c642a71156af;hp=4c488f75cc52194dcb09d5a35f1c83a58b1aed48;hb=562aaadc1d11a79f467189cff0a95a7d19d56e51;hpb=0e9dd6a30bdccab85d2b22a7a5937e501f9d90be diff --git a/build.gradle b/build.gradle index 4c488f7..dc7878c 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ group = 'net.pterodactylus' -version = '0.9.8' +version = '80' buildscript { ext.kotlinVersion = '1.2.71' @@ -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,7 @@ 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: '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' @@ -65,7 +65,7 @@ test { } task fatJar(type: Jar) { - archiveName = project.name + '-jar-with-dependencies.jar' + archiveName = project.name.toLowerCase() + '-jar-with-dependencies.jar' from { (configurations.runtime - configurations.provided).collect { it.isDirectory() ? it : zipTree(it) } } manifest { attributes('Plugin-Main-Class': 'net.pterodactylus.sone.main.SonePlugin')