Skip to content

Commit 3494ef0

Browse files
committed
Catalyst and all its modules can be now downloaded as one jar.
1 parent e05adf4 commit 3494ef0

File tree

5 files changed

+68
-1
lines changed

5 files changed

+68
-1
lines changed

all/build.gradle

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
plugins {
2+
id 'babric-loom' version '1.1.+'
3+
id 'java'
4+
}
5+
6+
group = "sunsetsatellite"
7+
archivesBaseName = "catalyst-all"
8+
version = rootProject.version
9+
10+
loom {
11+
gluedMinecraftJar()
12+
noIntermediateMappings()
13+
customMinecraftManifest.set("https://github.com/Turnip-Labs/bta-manifest-repo/releases/download/v${project.bta_version}/${project.bta_version}.json")
14+
}
15+
16+
dependencies {
17+
minecraft "bta-download-repo:bta:${project.bta_version}"
18+
mappings loom.layered() {}
19+
20+
include(project(":"))
21+
include(rootProject.project("energy"))
22+
include(rootProject.project("fluids"))
23+
include(rootProject.project("multiblocks"))
24+
}
25+
26+
processResources {
27+
inputs.property "version", rootProject.version
28+
29+
filesMatching("fabric.mod.json") {
30+
expand "version": rootProject.version
31+
}
32+
}
33+
34+
remapJar {
35+
destinationDirectory.set(file("$rootProject.projectDir/jars"))
36+
}
37+
+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"schemaVersion": 1,
3+
"id": "catalyst-all",
4+
"version": "${version}",
5+
6+
"name": "Catalyst: All",
7+
"description": "The full Catalyst package, includes all available modules.",
8+
"icon": "icon.png",
9+
"authors": [
10+
"sunsetsatellite"
11+
],
12+
"contact": {
13+
"homepage": "",
14+
"sources": ""
15+
},
16+
17+
"license": "MIT",
18+
19+
"environment": "*",
20+
21+
"depends": {
22+
"fabricloader": ">=0.13.3"
23+
},
24+
"suggests": {
25+
},
26+
"custom": {
27+
"modmenu:api": true
28+
}
29+
}

all/src/main/resources/icon.png

1.05 KB
Loading

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
plugins {
22
id 'babric-loom' version '1.1.+'
33
id 'java'
4-
id 'com.github.johnrengelman.shadow' version '8.1.0'
54
}
65

76
group = project.core_mod_group
@@ -133,3 +132,4 @@ processResources {
133132
remapJar {
134133
destinationDirectory.set(file("/jars"))
135134
}
135+

settings.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ rootProject.name = 'catalyst'
2121
include 'energy'
2222
include 'fluids'
2323
include 'multiblocks'
24+
include 'all'

0 commit comments

Comments
 (0)