You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.8 KiB
Kotlin
57 lines
1.8 KiB
Kotlin
/*
|
|
* This file was generated by the Gradle 'init' task.
|
|
*
|
|
* This generated file contains a sample Kotlin application project to get you started.
|
|
* For more details on building Java & JVM projects, please refer to https://docs.gradle.org/8.3/userguide/building_java_projects.html in the Gradle documentation.
|
|
*/
|
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
kotlin("jvm") version "2.1.0"
|
|
application
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.apache.commons:commons-exec:1.3")
|
|
implementation("com.fasterxml.jackson.core:jackson-annotations:2.14.0")
|
|
implementation("com.fasterxml.jackson.core:jackson-databind:2.14.0")
|
|
implementation(project(mapOf("path" to ":helper")))
|
|
implementation("org.slf4j:slf4j-api:2.0.9")
|
|
implementation("org.apache.commons:commons-compress:1.26.0")
|
|
implementation("com.github.freva:ascii-table:1.8.0")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
|
|
// Use the Kotlin JUnit 5 integration.
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
|
|
// Use the JUnit 5 integration.
|
|
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.9.3")
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
|
|
tasks.withType<KotlinCompile>().all {
|
|
kotlinOptions {
|
|
freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
|
|
freeCompilerArgs += "-opt-in=kotlin.ExperimentalUnsignedTypes"
|
|
jvmTarget = "11"
|
|
}
|
|
}
|
|
|
|
application {
|
|
// Define the main class for the application.
|
|
mainClass.set("cfig.lazybox.AppKt")
|
|
}
|
|
|
|
tasks.named<Test>("test") {
|
|
// Use JUnit Platform for unit tests.
|
|
useJUnitPlatform()
|
|
}
|