You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
817 B

5 years ago
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.11'
}
5 years ago
group 'com.silentdragon'
5 years ago
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
5 years ago
google()
jcenter()
5 years ago
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile 'io.javalin:javalin:2.6.0'
5 years ago
compile "org.slf4j:slf4j-log4j12:1.7.7"
compile "log4j:apache-log4j-extras:1.2.17"
5 years ago
compile 'com.beust:klaxon:5.0.1'
5 years ago
testCompile group: 'junit', name: 'junit', version: '4.12'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
jar {
manifest {
5 years ago
attributes 'Main-Class': 'com.silentdragon.wormhole.ServiceKt'
5 years ago
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
5 years ago
}