Skip to content

Commit

Permalink
add missing convention to copy flag
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Sep 13, 2024
1 parent bd69899 commit 95d087c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ abstract class JVMDowngraderExtension @Inject constructor(@get:Internal val proj
debug.convention(false).finalizeValueOnRead()
debugSkipStubs.convention(emptySet()).finalizeValueOnRead()
debugDumpClasses.convention(false).finalizeValueOnRead()
shadePath.convention { it.substringBefore(".").substringBeforeLast("-").replace(Regex("[.;\\[/]"), "-") + "/" }
shadePath.convention { it.substringBefore(".").substringBeforeLast("-").replace(Regex("[.;\\[/]"), "-") + "/" }.finalizeValueOnRead()
shadeInlining.convention(true).finalizeValueOnRead()
multiReleaseOriginal.convention(false).finalizeValueOnRead()
multiReleaseVersions.convention(emptySet()).finalizeValueOnRead()
Expand All @@ -79,6 +79,7 @@ abstract class JVMDowngraderExtension @Inject constructor(@get:Internal val proj
fun convention(flags: ShadeFlags) {
convention(flags as DowngradeFlags)
flags.shadePath.convention(shadePath).finalizeValueOnRead()
flags.shadeInlining.convention(shadeInlining).finalizeValueOnRead()
}

fun convention(flags: DowngradeFlags) {
Expand Down

0 comments on commit 95d087c

Please sign in to comment.