mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-25 21:40:05 +00:00
Patching Cleanup
This commit is contained in:
1 parent
bf12f30d26
commit
29a31a69e0
44 files changed
+1340
-970
No files matched your search
+5
-1
@@ -1,3 +1,4 @@
|
||||
import art.arcane.volmit.packaging.PackagingMode
|
||||
import org.gradle.api.file.CopySpec
|
||||
import org.gradle.api.file.DeleteSpec
|
||||
import org.gradle.api.file.FileSystemOperations
|
||||
@@ -169,6 +170,7 @@ nmsBindings.each { key, value ->
|
||||
transitive = false
|
||||
}
|
||||
testRuntimeOnly(project(':core'))
|
||||
testRuntimeOnly(rootProject.libs.caffeine)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -790,7 +792,9 @@ pluginPackaging {
|
||||
policyName = 'Iris Bukkit'
|
||||
stripDirectories = true
|
||||
stripLocalVariables = true
|
||||
releaseCompression = providers.gradleProperty('compactRelease').map { it.toBoolean() }.getOrElse(false)
|
||||
releaseCompression = providers.gradleProperty('compactRelease')
|
||||
.map { String value -> value.toBoolean() }
|
||||
.getOrElse(!PackagingMode.resolve(providers).development())
|
||||
prunePrefixes = ['art/arcane/volmlib/']
|
||||
keepPrefixes = ['art/arcane/volmlib/util/matter/slices/']
|
||||
shrinkRules = [file('packaging/shrink.pro')]
|
||||
|
||||
Reference in new issue
Block a user