Launch the JavaFX 2 project shell on Java 25 with an interactive viewport, managed Play lifecycle and project mutation guards. Preserve headless/MCP and save compatibility, and qualify exact runtime executable bundles. Separate unit JaCoCo gates from opt-in integration suites and use the internal Pong fixture for the headless visual pilot. Move maintenance and native conformance tools into tooling; retain the VS Code extension and update current navigation links. Validation: tooling make verify passed, including 1064 Studio unit tests, JaCoCo thresholds and 22 headless integration tests.
50 lines
1.2 KiB
Kotlin
50 lines
1.2 KiB
Kotlin
plugins {
|
|
java
|
|
jacoco
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
val libs = extensions.getByType<VersionCatalogsExtension>().named("libs")
|
|
|
|
dependencies {
|
|
constraints {
|
|
}
|
|
|
|
implementation(libs.findLibrary("jacoco-core").get())
|
|
|
|
compileOnly(libs.findLibrary("lombok").get())
|
|
annotationProcessor(libs.findLibrary("lombok").get())
|
|
testCompileOnly(libs.findLibrary("lombok").get())
|
|
testAnnotationProcessor(libs.findLibrary("lombok").get())
|
|
|
|
testImplementation(libs.findLibrary("junit-jupiter").get())
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
|
|
implementation(libs.findLibrary("slf4j-api").get())
|
|
implementation(libs.findLibrary("slf4j-simple").get())
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(25)
|
|
}
|
|
}
|
|
|
|
jacoco { toolVersion = libs.findVersion("jacoco").get().requiredVersion }
|
|
|
|
tasks.named<Test>("test") {
|
|
description = "Runs unit tests only; integration verification belongs to prometeu-tooling."
|
|
useJUnitPlatform { excludeTags("integration") }
|
|
finalizedBy("jacocoTestReport")
|
|
}
|
|
|
|
tasks.withType<JacocoReport> {
|
|
reports {
|
|
xml.required.set(true)
|
|
html.required.set(true)
|
|
}
|
|
}
|