Skip to content

Commit

Permalink
fix test running genCtSyms/coverageReport
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Jul 31, 2024
1 parent 1dc8aa8 commit 2e96c65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ tasks.getByName<Jar>("sourcesJar") {
}

tasks.test {
dependsOn(":java-api:assemble")
dependsOn(":java-api:testJar")
}

signing.isRequired = !project.hasProperty("is_local")
Expand Down
2 changes: 1 addition & 1 deletion gradle-plugin/test-downgrade/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ sourceSets {
val jvmdg = extensions.getByType(JVMDowngraderExtension::class.java)

if (project.hasProperty("runningTest")) {
jvmdg.apiJar = listOf(project.file("../../java-api/build/libs/jvmdowngrader-java-api-${props.getProperty("version")}.jar"))
jvmdg.apiJar = listOf(project.file("../../java-api/build/tmp/testJar/jvmdowngrader-java-api-${props.getProperty("version")}.jar"))
}

val downgrade by configurations.creating
Expand Down
1 change: 1 addition & 0 deletions java-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ tasks.assemble {
dependsOn(downgradeJar8)
}


publishing {
repositories {
maven {
Expand Down

0 comments on commit 2e96c65

Please sign in to comment.