58 lines
1.8 KiB
Plaintext
58 lines
1.8 KiB
Plaintext
/*
|
|
* This file was generated by the Gradle 'init' task.
|
|
*
|
|
* This generated file contains a sample Kotlin library project to get you started.
|
|
*/
|
|
|
|
fun property(name : String) = project.property(name).toString()
|
|
|
|
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
|
|
}
|
|
|
|
repositories {
|
|
// Use jcenter for resolving dependencies.
|
|
// You can declare any Maven/Ivy/file repository here.
|
|
mavenLocal()
|
|
jcenter()
|
|
mavenCentral()
|
|
}
|
|
|
|
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", "5.5.0")
|
|
|
|
// 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("net.woggioni", "jwo", "1.0")
|
|
|
|
}
|
|
|
|
application {
|
|
mainClassName = "net.woggioni.kzstd.HelloWorld"
|
|
}
|
|
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform {
|
|
}
|
|
}
|