nouritsu/build.gradle.kts
2020-07-03 13:05:23 +02:00

40 lines
647 B
Plaintext

plugins {
java
application
}
group = "moe.kageru"
version = "0.1.0"
repositories {
mavenCentral()
}
java {
sourceCompatibility = JavaVersion.VERSION_15
targetCompatibility = JavaVersion.VERSION_15
}
tasks.withType<JavaCompile> {
options.compilerArgs.add("--enable-preview")
}
tasks.run {
}
tasks.test {
useJUnitPlatform()
jvmArgs("--enable-preview")
}
application {
mainClass.set("nouritsu.Nouritsu")
applicationDefaultJvmArgs = listOf("--enable-preview")
}
dependencies {
implementation("org.nanohttpd:nanohttpd:2.3.1")
implementation("io.vavr:vavr:1.0.0-alpha-3")
testImplementation("junit", "junit", "4.12")
}