Skip to content

Commit

Permalink
loader/ml9: fix wrong task input
Browse files Browse the repository at this point in the history
  • Loading branch information
Sychic committed Aug 25, 2024
1 parent 2b088d9 commit 787a65b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/kotlin/gg/essential/essential-loader.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ when {
tasks {
val generateEssentialLoaderMixinConfig by registering {
inputs.properties(
"generatedResourcesDirectory" to generatedResourcesDirectory,
"mixinConfigName" to mixinConfigName,
"relocatedPackage" to relocatedPackage
)
Expand All @@ -98,7 +97,6 @@ when {
}
val generateEssentialLoaderModNameMarker by registering {
inputs.properties(
"generatedResourcesDirectory" to generatedResourcesDirectory,
"modName" to modName
)
val outputFile = file(generatedResourcesDirectory.get().file("essential-loader-mod-name.txt"))
Expand All @@ -108,8 +106,8 @@ when {
}
}
named<ProcessResources>("processResources") {
from(file(generateEssentialLoaderMixinConfig.map(Task::getOutputs)))
from(file(generateEssentialLoaderModNameMarker.map(Task::getOutputs))) {
from(generateEssentialLoaderMixinConfig.map(Task::getOutputs))
from(generateEssentialLoaderModNameMarker.map(Task::getOutputs)) {
into("META-INF")
}
}
Expand Down

0 comments on commit 787a65b

Please sign in to comment.