Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,9 @@ tasks.named<Test>("test") {
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}

// Temporary alias until we migrate tooling
// TODO https://github.com/ion-fusion/fusion-java/issues/429
tasks.register("release") {
dependsOn(tasks.build) // build depends on assemble & check
}
11 changes: 4 additions & 7 deletions runtime/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ val fcovTestReport = tasks.register<JavaExec>("fcovTestReport") {
}


// Signal to test task to collect coverage data.
// Signal the test task to collect Fusion coverage data.
var fcovRunning = false
gradle.taskGraph.whenReady {
fcovRunning = hasTask(fcovTestReport.get())
Expand Down Expand Up @@ -195,10 +195,7 @@ tasks.javadoc {
//=============================================================================
// Distribution

// Gradle doesn't seem to have an equivalent "do everything" task.
tasks.register("release") {
group = "Build"
description = "Build all artifacts and reports"

dependsOn(tasks.build, tasks.jacocoTestReport, fcovTestReport)
tasks.build {
// To speed up the dev workflow, only enable FCOV when doing a full build.
dependsOn(tasks.jacocoTestReport, fcovTestReport)
}
12 changes: 0 additions & 12 deletions sdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,3 @@ distributions {
}
}
}


//=============================================================================
// Distribution

// Gradle doesn't seem to have an equivalent "do everything" task.
tasks.register("release") {
group = "Build"
description = "Build all artifacts and reports"

dependsOn(tasks.assemble, tasks.check)
}