aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authornea <romangraef@gmail.com>2022-09-21 19:20:50 +0200
committernea <romangraef@gmail.com>2022-09-21 19:20:50 +0200
commit6d8cab61be2a053867de24b0af87d58d86472d5f (patch)
tree954b0f58dffea5bf14b5dd394a2caca159d3fcf2 /build.gradle
parentdcf9b35ca749e10ea56c80bf6da63ba74b69ba55 (diff)
downloadPerspectiveModv4-master.tar.gz
PerspectiveModv4-master.tar.bz2
PerspectiveModv4-master.zip
Reenable build jarsHEADmaster
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle49
1 files changed, 25 insertions, 24 deletions
diff --git a/build.gradle b/build.gradle
index e4866a7..5c9b585 100644
--- a/build.gradle
+++ b/build.gradle
@@ -8,7 +8,7 @@ plugins {
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
-group= "me.djtheredstoner"
+group = "me.djtheredstoner"
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
@@ -48,7 +48,7 @@ dependencies {
minecraft 'com.mojang:minecraft:1.8.9'
mappings 'de.oceanlabs.mcp:mcp_stable:22-1.8.9'
forge 'net.minecraftforge:forge:1.8.9-11.15.1.2318-1.8.9'
-
+
embed "gg.essential:loader-launchwrapper:1.1.3"
@@ -56,11 +56,11 @@ dependencies {
}
jar {
- enabled = false
+ archiveClassifier.set("deobf")
}
shadowJar {
- archiveClassifier.set("")
+ archiveClassifier.set("shadow")
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
@@ -76,28 +76,29 @@ shadowJar {
}
remapJar {
+ archiveClassifier.set("")
from shadowJar
- input = shadowJar.archiveFile
+ input.set(shadowJar.archiveFile)
}
processResources
-{
- duplicatesStrategy = DuplicatesStrategy.EXCLUDE
- // this will ensure that this task is redone when the versions change.
- inputs.property "version", project.version
-
- // replace stuff in mcmod.info, nothing else
- from(sourceSets.main.resources.srcDirs) {
- include 'mcmod.info'
-
- // replace version and mcversion
- expand 'version':project.version
- }
-
- // copy everything else, thats not the mcmod.info
- from(sourceSets.main.resources.srcDirs) {
- exclude 'mcmod.info'
- }
+ {
+ duplicatesStrategy = DuplicatesStrategy.EXCLUDE
+ // this will ensure that this task is redone when the versions change.
+ inputs.property "version", project.version
- from(file("LICENSE"))
-}
+ // replace stuff in mcmod.info, nothing else
+ from(sourceSets.main.resources.srcDirs) {
+ include 'mcmod.info'
+
+ // replace version and mcversion
+ expand 'version': project.version
+ }
+
+ // copy everything else, thats not the mcmod.info
+ from(sourceSets.main.resources.srcDirs) {
+ exclude 'mcmod.info'
+ }
+
+ from(file("LICENSE"))
+ }