/* * 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 "1.9.22" 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") // 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().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") { // Use JUnit Platform for unit tests. useJUnitPlatform() }