group = 'net.pterodactylus'
-version = '0.9.8'
+version = '80'
buildscript {
ext.kotlinVersion = '1.2.71'
}
repositories {
- maven { url "http://maven.pterodactylus.net/" }
mavenCentral()
+ maven { url "https://maven.pterodactylus.net/" }
}
apply plugin: 'java'
compile group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2'
compile group: 'org.jsoup', name: 'jsoup', version: '1.10.2'
- testCompile group: 'org.jetbrains.kotlin', name: 'kotlin-test'
+ 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.hamcrest', name: 'hamcrest-all', version: '1.3'
}
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')