group = 'net.pterodactylus'
-version = '0.9.8'
+version = '80'
buildscript {
ext.kotlinVersion = '1.2.71'
apply plugin: 'java'
-sourceCompatibility = 1.7
-targetCompatibility = 1.7
+sourceCompatibility = 1.8
+targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
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'
}
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')