дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-08 19:02:17 +02:00
31 рядки
556 B
Kotlin
31 рядки
556 B
Kotlin
plugins {
|
|
kotlin("jvm") version "2.0.21"
|
|
application
|
|
}
|
|
|
|
group = "com.example"
|
|
version = "0.1.0"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(kotlin("test"))
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.11.3")
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(21)
|
|
}
|
|
|
|
application {
|
|
mainClass.set("com.example.library.AppKt")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
// `gradle test -PopenideaFail` runs the intentionally failing test.
|
|
systemProperty("openidea.fail", project.hasProperty("openideaFail").toString())
|
|
}
|