Skip to content

Commit

Permalink
nna-
Browse files Browse the repository at this point in the history
  • Loading branch information
MORIMORI0317 committed Jan 14, 2021
1 parent e3c9e35 commit b9f8387
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar

buildscript {
repositories {
maven { url = 'https://files.minecraftforge.net/maven' }
Expand Down Expand Up @@ -146,7 +144,7 @@ shadowJar {
relocate 'com.github.kiulian', 'red.felnull.imp.libs.com.github.kiulian'
relocate 'com.alibaba.fastjson', 'red.felnull.imp.libs.com.alibaba.fastjson'
}
task shadowJarAll(type: ShadowJar) {
task shadowJarAll(type: com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar) {
from sourceSets.main.output
classifier 'all'
project.configurations.shadowAll.setTransitive(true);
Expand Down Expand Up @@ -183,7 +181,7 @@ task shadowJarAll(type: ShadowJar) {
relocate 'com.github.kiulian', 'red.felnull.imp.libs.com.github.kiulian'
relocate 'com.alibaba.fastjson', 'red.felnull.imp.libs.com.alibaba.fastjson'
}
task shadowJarWin32(type: ShadowJar) {
task shadowJarWin32(type: com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar) {
from sourceSets.main.output
classifier 'win32'
project.configurations.shadowAll.setTransitive(true);
Expand All @@ -207,7 +205,7 @@ task shadowJarWin32(type: ShadowJar) {
relocate 'com.github.kiulian', 'red.felnull.imp.libs.com.github.kiulian'
relocate 'com.alibaba.fastjson', 'red.felnull.imp.libs.com.alibaba.fastjson'
}
task shadowJarWin64(type: ShadowJar) {
task shadowJarWin64(type: com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar) {
from sourceSets.main.output
classifier 'win64'
project.configurations.shadowAll.setTransitive(true);
Expand All @@ -231,7 +229,7 @@ task shadowJarWin64(type: ShadowJar) {
relocate 'com.github.kiulian', 'red.felnull.imp.libs.com.github.kiulian'
relocate 'com.alibaba.fastjson', 'red.felnull.imp.libs.com.alibaba.fastjson'
}
task shadowJarLinux32(type: ShadowJar) {
task shadowJarLinux32(type: com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar) {
from sourceSets.main.output
classifier 'linux32'
project.configurations.shadowAll.setTransitive(true);
Expand All @@ -255,7 +253,7 @@ task shadowJarLinux32(type: ShadowJar) {
relocate 'com.github.kiulian', 'red.felnull.imp.libs.com.github.kiulian'
relocate 'com.alibaba.fastjson', 'red.felnull.imp.libs.com.alibaba.fastjson'
}
task shadowJarLinux64(type: ShadowJar) {
task shadowJarLinux64(type: com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar) {
from sourceSets.main.output
classifier 'linux64'
project.configurations.shadowAll.setTransitive(true);
Expand All @@ -279,7 +277,7 @@ task shadowJarLinux64(type: ShadowJar) {
relocate 'com.github.kiulian', 'red.felnull.imp.libs.com.github.kiulian'
relocate 'com.alibaba.fastjson', 'red.felnull.imp.libs.com.alibaba.fastjson'
}
task shadowJarLinuxArm64(type: ShadowJar) {
task shadowJarLinuxArm64(type: com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar) {
from sourceSets.main.output
classifier 'linux-arm64'
project.configurations.shadowAll.setTransitive(true);
Expand All @@ -303,7 +301,7 @@ task shadowJarLinuxArm64(type: ShadowJar) {
relocate 'com.github.kiulian', 'red.felnull.imp.libs.com.github.kiulian'
relocate 'com.alibaba.fastjson', 'red.felnull.imp.libs.com.alibaba.fastjson'
}
task shadowJarOsx64(type: ShadowJar) {
task shadowJarOsx64(type: com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar) {
from sourceSets.main.output
classifier 'osx64'
project.configurations.shadowAll.setTransitive(true);
Expand Down Expand Up @@ -469,8 +467,5 @@ if (System.getenv('curesforgeapikey') != null && "${curesfg_id}" != "0") {
displayName = "${mod_name}-${mc_version}-${mod_version}-osx64"
}
}
options {
debug = true
}
}
}

0 comments on commit b9f8387

Please sign in to comment.