Skip to content

Commit

Permalink
set location for downgraded jars
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Jun 18, 2024
1 parent f4bb4a2 commit 7e73ecf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ abstract class JVMDowngraderExtension @Inject constructor(@get:Internal val proj

@get:Internal
internal val downgradedApis = defaultedMapOf<JavaVersion, File> { version ->
val downgradedPath = apiJar.get().resolveSibling("java-api-${version}-downgraded.jar")
val downgradedPath = project.file(".gradle").resolve("jvmdg/java-api-${version}-downgraded.jar")

ClassDowngrader.downgradeTo(this.toFlags()).use {
ZipDowngrader.downgradeZip(it, apiJar.get().toPath(), emptySet(), downgradedPath.toPath())
Expand Down

0 comments on commit 7e73ecf

Please sign in to comment.