fix: dont configure lom if loom.platform is set
ci/woodpecker/push/gradle Pipeline was successful Details
ci/woodpecker/push/pages Pipeline was successful Details

This commit is contained in:
Johannes Frohnmeyer 2024-03-21 12:30:41 +01:00
parent 47f47cc8e7
commit c6dd891468
Signed by: Johannes
GPG Key ID: E76429612C2929F4
1 changed files with 5 additions and 2 deletions

View File

@ -20,8 +20,11 @@ insertEarlyAfterEvaluate {
if (!isRoot) versionS = rootProject.versionS if (!isRoot) versionS = rootProject.versionS
lom { if (!hasProperty("loom.platform")) {
copyFrom(rootArgs) // Platform is set manually. User will need to configure lom themselves too
lom {
copyFrom(rootArgs)
}
} }
if (rootArgs.libJfVersion.isPresent) { if (rootArgs.libJfVersion.isPresent) {