Skip to content

Commit

Permalink
fix remapJar on other sourcesets
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Nov 22, 2023
1 parent 5e0fbb8 commit 74dd291
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package xyz.wagyourtail.patchbase.gradle

import org.gradle.api.Project
import org.gradle.api.tasks.SourceSet
import org.gradle.configurationcache.extensions.capitalized
import org.gradle.jvm.tasks.Jar
import xyz.wagyourtail.patchbase.gradle.tasks.ApplySourcePatchTask
import xyz.wagyourtail.patchbase.gradle.tasks.CreateClassPatchTask
Expand Down Expand Up @@ -62,7 +63,7 @@ abstract class PatchExtension(val project: Project) {
}

it.archiveClassifier.set("patch")
it.dependsOn("remapJar".withSourceSet(sourceSet))
it.dependsOn("remap" + "jar".withSourceSet(sourceSet).capitalized())
}
}

Expand Down

0 comments on commit 74dd291

Please sign in to comment.