Dicing things up a little

- Trying to slim this beauty down to a size 6.
- Shes a size 7.1
This commit is contained in:
Brian Neumann-Fopiano committed 2026-09-05 16:45:31 -04:00
1 parent d10d70a894
commit f2887632fe
50 files changed
+668 -491

No files matched your search

+23
View File
@@ -20,12 +20,24 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import org.gradle.api.tasks.compile.JavaCompile
import org.gradle.jvm.toolchain.JavaLanguageVersion
buildscript {
repositories {
mavenCentral()
maven { url = uri('https://jitpack.io') }
}
dependencies {
classpath('com.github.VolmitSoftware.VolmLib:packaging:master-SNAPSHOT')
}
}
plugins {
id 'java'
id 'net.fabricmc.fabric-loom' version '1.17.14'
alias(libs.plugins.shadow)
}
apply plugin: 'art.arcane.volmit-packaging'
apply from: file('../../gradle/modded-generation-build-revision.gradle')
Properties rootProperties = new Properties()
@@ -320,3 +332,14 @@ tasks.matching { it.name == 'remapJar' }.configureEach {
tasks.named('assemble').configure {
dependsOn(tasks.named('shadowJar'))
}
pluginPackaging {
artifacts {
create('distribution') {
taskName = 'shadowJar'
policyName = 'Iris Fabric'
prunePrefixes = ['art/arcane/volmlib/']
keepPrefixes = ['art/arcane/volmlib/util/matter/slices/']
}
}
}