File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -68,19 +68,16 @@ jar {
6868}
6969
7070def outputJarFile = (File ) jar. outputs. files. getSingleFile()
71- def coreJarFile = new File (outputJarFile. getParentFile(), outputJarFile. getName(). replace(' extended' , ' core-borked' ))
7271
73- println (coreJarFile)
74-
75- task coreJar (type : Jar , dependsOn : retromapReplacedMain) {
76- with jar
77- classifier = " core"
72+ task coreJar (type : Zip , dependsOn : reobfJar) {
73+ from zipTree(outputJarFile). matching { exclude ' org/minimallycorrect/tickthreading/mixin/extended/**' }
74+ archiveName = jar. archiveName. replace(' -' + jar. classifier, " -core" )
75+ destinationDir = jar. destinationDir
7876 exclude(' org/minimallycorrect/tickthreading/mixin/extended**' )
7977}
8078
8179artifacts {
82- archives jar
83- archives coreJarFile
80+ archives coreJar
8481}
8582
8683build. dependsOn(coreJar)
You can’t perform that action at this time.
0 commit comments