aboutsummaryrefslogtreecommitdiff
path: root/fabric
diff options
context:
space:
mode:
authorisXander <xandersmith2008@gmail.com>2023-05-22 19:33:00 +0100
committerisXander <xandersmith2008@gmail.com>2023-05-22 19:33:00 +0100
commitead0b794ac57e9ab2558338f7f3da7545d2e12ff (patch)
treed1c92f8d3283a8989923e038a377af4a00c24124 /fabric
parent590e69f4bf445a39737b0b1552cf116ff780d75e (diff)
downloadYetAnotherConfigLib-ead0b794ac57e9ab2558338f7f3da7545d2e12ff.tar.gz
YetAnotherConfigLib-ead0b794ac57e9ab2558338f7f3da7545d2e12ff.tar.bz2
YetAnotherConfigLib-ead0b794ac57e9ab2558338f7f3da7545d2e12ff.zip
scrollable navbar, group descriptions, auto-scroll descriptions
Diffstat (limited to 'fabric')
-rw-r--r--fabric/build.gradle.kts9
1 files changed, 5 insertions, 4 deletions
diff --git a/fabric/build.gradle.kts b/fabric/build.gradle.kts
index 6d527d6..690fe30 100644
--- a/fabric/build.gradle.kts
+++ b/fabric/build.gradle.kts
@@ -109,12 +109,13 @@ tasks {
}
}
-components["java"].withGroovyBuilder {
- "withVariantsFromConfiguration"(configurations["shadowRuntimeElements"]) {
- "skip"()
+components["java"].run {
+ if (this is AdhocComponentWithVariants) {
+ withVariantsFromConfiguration(configurations["shadowRuntimeElements"]) {
+ skip()
+ }
}
}
-
val changelogText: String by ext
val isBeta: Boolean by ext