Skip to content

Commit 118865c

Browse files
committed
Added new module: Multiparts!
1 parent a95e114 commit 118865c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2707
-3
lines changed

build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,11 @@ dependencies {
102102
var log4jVersion = "2.20.0"
103103
implementation("org.apache.logging.log4j:log4j-core:${log4jVersion}")
104104
implementation("org.apache.logging.log4j:log4j-api:${log4jVersion}")
105-
implementation("org.apache.logging.log4j:log4j-1.2-api:${log4jVersion}")
105+
include(implementation(annotationProcessor("io.github.llamalad7:mixinextras-fabric:0.4.1")))
106106

107107
modRuntimeOnly "objects:client:43db9b498cb67058d2e12d394e6507722e71bb45" // https://piston-data.mojang.com/v1/objects/43db9b498cb67058d2e12d394e6507722e71bb45/client.jar
108108
modImplementation "fabric-loader:fabric-loader:${project.loader_version}"
109+
modImplementation "io.github.llamalad7:mixinextras-fabric:0.4.1"
109110

110111
modImplementation "bta-halplibe:halplibe:${project.halplibe_version}"
111112
modImplementation "ModMenu:ModMenu:${project.mod_menu_version}"

multipart/build.gradle

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
plugins {
2+
id 'babric-loom' version '1.4.+'
3+
id 'java'
4+
}
5+
6+
group = project.mod_group
7+
archivesBaseName = project.mod_name
8+
version = project.mod_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+
if(findProject(":catalyst") != null){
18+
implementation project(path: ':catalyst', configuration: "namedElements")
19+
} else {
20+
implementation project(path: ':', configuration: "namedElements")
21+
}
22+
23+
minecraft "bta-download-repo:bta:${project.bta_version}"
24+
mappings loom.layered() {}
25+
26+
implementation "org.slf4j:slf4j-api:1.8.0-beta4"
27+
implementation "org.apache.logging.log4j:log4j-slf4j18-impl:2.16.0"
28+
implementation 'com.google.guava:guava:33.0.0-jre'
29+
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.9'
30+
var log4jVersion = "2.20.0"
31+
implementation("org.apache.logging.log4j:log4j-core:${log4jVersion}")
32+
implementation("org.apache.logging.log4j:log4j-api:${log4jVersion}")
33+
implementation("org.apache.logging.log4j:log4j-1.2-api:${log4jVersion}")
34+
35+
modRuntimeOnly "objects:client:43db9b498cb67058d2e12d394e6507722e71bb45" // https://piston-data.mojang.com/v1/objects/43db9b498cb67058d2e12d394e6507722e71bb45/client.jar
36+
modImplementation "fabric-loader:fabric-loader:${project.loader_version}"
37+
38+
modImplementation "bta-halplibe:halplibe:${project.halplibe_version}"
39+
modImplementation "ModMenu:ModMenu:${project.mod_menu_version}"
40+
modImplementation "DragonFly:dragonfly:${project.dragonfly_version}"
41+
}
42+
43+
java {
44+
sourceCompatibility = JavaVersion.VERSION_1_8
45+
targetCompatibility = JavaVersion.VERSION_1_8
46+
withSourcesJar()
47+
}
48+
49+
tasks.withType(JavaCompile).configureEach {
50+
options.release.set 8
51+
}
52+
53+
processResources {
54+
inputs.property "version", version
55+
56+
filesMatching("fabric.mod.json") {
57+
expand "version": version
58+
}
59+
}
60+
61+
remapJar {
62+
destinationDirectory.set(file("$parent.projectDir/jars"))
63+
archiveVersion.set(archiveVersion.get()+"-${bta_version}")
64+
}

multipart/gradle.properties

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
org.gradle.jvmargs=-Xmx2G
2+
3+
# Mod
4+
mod_version=1.0.0
5+
mod_group=sunsetsatellite
6+
mod_name=catalyst-multipart

0 commit comments

Comments
 (0)