Skip to content

Commit

Permalink
Update build.gradle.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail authored May 11, 2024
1 parent 7e67db5 commit d3261b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ val tempFile8 = project.layout.buildDirectory.get().asFile.resolve("jvmdg").reso

val downgradeJar8Exec by tasks.registering(JavaExec::class) {
group = "jvmdg"
dependsOn(downgradeJar8Exec)
dependsOn(tasks.jar)
val apiJar = tasks.jar.get().archiveFile.get().asFile.absolutePath

val rootMain = project(":").sourceSets.main.get()
Expand All @@ -220,7 +220,7 @@ val downgradeJar8Exec by tasks.registering(JavaExec::class) {

val downgradeJar8 by tasks.registering(Jar::class) {
group = "jvmdg"
dependsOn(tasks.jar)
dependsOn(downgradeJar8Exec)
archiveClassifier.set("downgraded-8")
from(zipTree(tempFile8))
}
Expand Down

0 comments on commit d3261b2

Please sign in to comment.