48 lines
814 B
Plaintext
48 lines
814 B
Plaintext
plugins {
|
|
kotlin("jvm") version "1.9.0"
|
|
application
|
|
}
|
|
|
|
group = "xyz.geniuscartel"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(kotlin("test"))
|
|
testImplementation("org.mockito.kotlin:mockito-kotlin:5.0.0")
|
|
|
|
implementation("net.java.dev.jna:jna:latest.release")
|
|
implementation(kotlin("reflect"))
|
|
// https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
|
|
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
sourceSets {
|
|
test {
|
|
kotlin.srcDir("src/test/kotlin")
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(8)
|
|
}
|
|
|
|
java {
|
|
toolchain{
|
|
languageVersion.set(JavaLanguageVersion.of(17))
|
|
}
|
|
}
|
|
|
|
application {
|
|
mainClass.set("EntryKt")
|
|
}
|
|
|