plugins { // Apply the Kotlin JVM plugin to add support for Kotlin. id("org.jetbrains.kotlin.jvm") version "1.3.70" // Apply the java-library plugin for API and implementation separation. `java-library` application } group = "net.woggioni" version = "0.1" repositories { // Use jcenter for resolving dependencies. // You can declare any Maven/Ivy/file repository here. mavenLocal() jcenter() mavenCentral() } fun property(name : String) = project.property(name).toString() dependencies { // Align versions of all Kotlin components compileOnly(platform("org.jetbrains.kotlin:kotlin-bom")) testImplementation(platform("org.jetbrains.kotlin:kotlin-bom")) // Use the Kotlin JDK 8 standard library. compileOnly("org.jetbrains.kotlin:kotlin-stdlib-jdk8") testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8") implementation("net.java.dev.jna", "jna", property("jna.version")) // https://mvnrepository.com/artifact/org.projectlombok/lombok compileOnly("org.projectlombok", "lombok", property("lombok.version")) annotationProcessor("org.projectlombok", "lombok", property("lombok.version")) testCompileOnly("org.projectlombok", "lombok", property("lombok.version")) testAnnotationProcessor("org.projectlombok", "lombok", property("lombok.version")) testRuntimeOnly("org.junit.jupiter", "junit-jupiter-engine", property("junit.version")) testImplementation("org.junit.jupiter","junit-jupiter-api", property("junit.version")) testImplementation("org.junit.jupiter","junit-jupiter-params", property("junit.version")) testImplementation("net.woggioni", "jwo", "1.0") } application { mainClassName = "net.woggioni.kzstd.HelloWorld" } tasks.withType { useJUnitPlatform { } }