Last 1.18 initial work. Getting ready for 1.19
This commit is contained in:
@@ -9,6 +9,9 @@ buildscript {
|
||||
classpath 'org.spongepowered:mixingradle:0.7-SNAPSHOT'
|
||||
}
|
||||
}
|
||||
plugins {
|
||||
id 'com.github.johnrengelman.shadow' version '7.0.0'
|
||||
}
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'net.minecraftforge.gradle'
|
||||
apply plugin: 'eclipse'
|
||||
@@ -97,7 +100,22 @@ processResources {
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
dependencies {
|
||||
include(dependency('me.hypherionmc.night-config:toml:3.6.5_custom'))
|
||||
include(dependency('me.hypherionmc.night-config:core:3.6.5_custom'))
|
||||
|
||||
//relocate 'me.hypherionmc.nightconfig', 'shadow.hypherionmc.nightconfig'
|
||||
}
|
||||
classifier ''
|
||||
}
|
||||
|
||||
reobf {
|
||||
shadowJar {}
|
||||
}
|
||||
|
||||
build.dependsOn reobfShadowJar
|
||||
reg.configureJarTask(shadowJar)
|
||||
jar.finalizedBy('reobfJar')
|
||||
|
||||
publishing {
|
||||
@@ -106,12 +124,26 @@ publishing {
|
||||
groupId project.group
|
||||
artifactId project.archivesBaseName
|
||||
version project.version
|
||||
artifact jar
|
||||
artifact shadowJar
|
||||
pom.withXml {
|
||||
Node pomNode = asNode()
|
||||
pomNode.dependencies.'*'.findAll() {
|
||||
it.artifactId.text() == 'regutils-joined-fabric' ||
|
||||
it.artifactId.text() == 'core' ||
|
||||
it.artifactId.text() == 'toml'
|
||||
}.each() {
|
||||
it.parent().remove(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
maven {
|
||||
url "file://" + System.getenv("local_maven")
|
||||
url "https://maven.firstdarkdev.xyz/" + (project.isSnapshot ? "snapshots" : "releases")
|
||||
credentials {
|
||||
username System.getenv("MAVEN_USER")
|
||||
password System.getenv("MAVEN_PASS")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -122,4 +154,4 @@ task copyAllArtifacts(type: Copy) {
|
||||
include("*.jar")
|
||||
}
|
||||
|
||||
build.finalizedBy(copyAllArtifacts);
|
||||
build.finalizedBy(copyAllArtifacts)
|
||||
|
1
Forge/src/main/resources/META-INF/accesstransformer.cfg
Normal file
1
Forge/src/main/resources/META-INF/accesstransformer.cfg
Normal file
@@ -0,0 +1 @@
|
||||
public net.minecraft.client.renderer.LevelRenderer$RenderChunkInfo
|
@@ -1,31 +1,31 @@
|
||||
modLoader="javafml"
|
||||
loaderVersion="[40,)"
|
||||
license="MIT"
|
||||
modLoader = "javafml"
|
||||
loaderVersion = "[40,)"
|
||||
license = "MIT"
|
||||
#issueTrackerURL="https://change.me.to.your.issue.tracker.example.invalid/"
|
||||
|
||||
[[mods]]
|
||||
modId="craterlib"
|
||||
version="${file.jarVersion}"
|
||||
displayName="CraterLib"
|
||||
modId = "craterlib"
|
||||
version = "${file.jarVersion}"
|
||||
displayName = "CraterLib"
|
||||
#updateJSONURL="https://change.me.example.invalid/updates.json"
|
||||
#displayURL="https://change.me.to.your.mods.homepage.example.invalid/"
|
||||
logoFile="multiloader.png"
|
||||
logoFile = "multiloader.png"
|
||||
#credits="Thanks for this example mod goes to Java"
|
||||
authors="HypherionSA, Misha"
|
||||
description='''
|
||||
authors = "HypherionSA, Misha"
|
||||
description = '''
|
||||
A library mod used by HypherionSA's Mods
|
||||
'''
|
||||
|
||||
[[dependencies.craterlib]]
|
||||
modId="forge"
|
||||
mandatory=true
|
||||
versionRange="[40,)"
|
||||
ordering="NONE"
|
||||
side="BOTH"
|
||||
modId = "forge"
|
||||
mandatory = true
|
||||
versionRange = "[40,)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
|
||||
[[dependencies.craterlib]]
|
||||
modId="minecraft"
|
||||
mandatory=true
|
||||
versionRange="[1.18.2,1.19)"
|
||||
ordering="NONE"
|
||||
side="BOTH"
|
||||
modId = "minecraft"
|
||||
mandatory = true
|
||||
versionRange = "[1.18.2,1.19)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
|
Reference in New Issue
Block a user