Restore the project launcher, creation wizard and loading shield with UI2 components. Coordinate real opening phases, a one-second minimum, pending session cleanup and per-project window geometry while retaining the Play slice. Keep global presentation controls in the project window, make the launcher frame resize with its window and prevent root run from chaining the foundation demo after the product exits. Update desktop/installed probes and documentation. Register the existing native bundle after capacity qualification, without changing native binaries or bypassing the execution guard. Validated with unit, desktop, native Play, headless, save, MCP and installed connector gates. Human-tested and accepted under WRK-0018.
41 lines
1.3 KiB
Kotlin
41 lines
1.3 KiB
Kotlin
plugins {
|
|
base
|
|
jacoco
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
}
|
|
|
|
// An unqualified `run` must launch the product, not every application subproject.
|
|
tasks.register("run") {
|
|
group = "application"
|
|
description = "Starts Prometeu Studio. Foundation demos have explicit module tasks."
|
|
dependsOn(":prometeu-app:run")
|
|
}
|
|
|
|
val jacocoTestReport = tasks.register<JacocoReport>("jacocoTestReport") {
|
|
group = "Verification"
|
|
description = "Generates consolidated unit-test coverage for all subprojects."
|
|
|
|
val javaSubprojects = subprojects.filter { subproject ->
|
|
subproject.subprojects.isEmpty() && subproject.plugins.hasPlugin("java")
|
|
}
|
|
|
|
dependsOn(javaSubprojects.map { it.tasks.named("jacocoTestReport") })
|
|
|
|
additionalSourceDirs.setFrom(javaSubprojects.map { it.layout.projectDirectory.dir("src/main/java") })
|
|
sourceDirectories.setFrom(javaSubprojects.map { it.layout.projectDirectory.dir("src/main/java") })
|
|
classDirectories.setFrom(javaSubprojects.map { it.layout.buildDirectory.dir("classes/java/main") })
|
|
// Opt-in integration tasks must not contribute coverage to the unit gate.
|
|
executionData.setFrom(javaSubprojects.map { it.layout.buildDirectory.file("jacoco/test.exec") })
|
|
|
|
reports {
|
|
xml.required.set(true)
|
|
html.required.set(true)
|
|
}
|
|
}
|