This commit is contained in:
parent
f86a6f5967
commit
e4b15f4dd9
@ -1,5 +1,8 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
**1.0.9**
|
||||||
|
* Fix Transitive Dependencies
|
||||||
|
|
||||||
**1.0.8**
|
**1.0.8**
|
||||||
* Remove Debug Code
|
* Remove Debug Code
|
||||||
|
|
||||||
|
37
build.gradle
37
build.gradle
@ -1,7 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'fabric-loom' version '0.4-SNAPSHOT'
|
id 'fabric-loom' version '0.4-SNAPSHOT'
|
||||||
id 'com.matthewprenger.cursegradle' version '1.4.0'
|
id 'com.matthewprenger.cursegradle' version '1.4.0'
|
||||||
id "com.github.johnrengelman.shadow" version "5.2.0"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
compileJava {
|
compileJava {
|
||||||
@ -13,6 +12,12 @@ def mod_version = project.mod_version as Object
|
|||||||
version = "${mod_version}+${project.minecraft_version}"
|
version = "${mod_version}+${project.minecraft_version}"
|
||||||
group = project.maven_group as Object
|
group = project.maven_group as Object
|
||||||
|
|
||||||
|
configurations {
|
||||||
|
includeTransitive {
|
||||||
|
transitive = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
||||||
mappings "net.fabricmc:yarn:${project.minecraft_version}+build.${project.yarn_build}:v2"
|
mappings "net.fabricmc:yarn:${project.minecraft_version}+build.${project.yarn_build}:v2"
|
||||||
@ -23,31 +28,23 @@ dependencies {
|
|||||||
modImplementation "io.github.prospector:modmenu:${project.modmenu_version}"
|
modImplementation "io.github.prospector:modmenu:${project.modmenu_version}"
|
||||||
|
|
||||||
implementation "com.squareup.moshi:moshi:${project.moshi_version}"
|
implementation "com.squareup.moshi:moshi:${project.moshi_version}"
|
||||||
shadow "com.squareup.moshi:moshi:${project.moshi_version}"
|
includeTransitive "com.squareup.moshi:moshi:${project.moshi_version}"
|
||||||
|
|
||||||
implementation "org.dom4j:dom4j:${project.dom4j_version}"
|
implementation "org.dom4j:dom4j:${project.dom4j_version}"
|
||||||
shadow "org.dom4j:dom4j:${project.dom4j_version}"
|
includeTransitive "org.dom4j:dom4j:${project.dom4j_version}"
|
||||||
|
|
||||||
compileOnly 'com.google.code.findbugs:jsr305:3.0.2'
|
compileOnly 'com.google.code.findbugs:jsr305:3.0.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
shadowJar {
|
project.afterEvaluate {
|
||||||
configurations = [project.configurations.shadow]
|
configurations.includeTransitive.incoming.resolutionResult.allComponents {
|
||||||
classifier 'shadow-dev'
|
if (it.id instanceof ModuleComponentIdentifier) {
|
||||||
mergeServiceFiles()
|
def that = it
|
||||||
}
|
dependencies {
|
||||||
|
include group: that.id.getGroup(), name: that.id.getModule(), version: that.id.getVersion()
|
||||||
import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocation
|
}
|
||||||
|
}
|
||||||
task relocateShadowJar(type: ConfigureShadowRelocation) {
|
}
|
||||||
target = tasks.shadowJar
|
|
||||||
prefix = "${project.group}.${project.archivesBaseName}.shadow"
|
|
||||||
}
|
|
||||||
tasks.shadowJar.dependsOn tasks.relocateShadowJar
|
|
||||||
|
|
||||||
remapJar {
|
|
||||||
dependsOn shadowJar
|
|
||||||
input.set shadowJar.archiveFile.get()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
processResources {
|
||||||
|
@ -9,7 +9,7 @@ org.gradle.jvmargs = -Xmx1G
|
|||||||
fabric_loader_version = 0.8.8+build.202
|
fabric_loader_version = 0.8.8+build.202
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 1.0.8
|
mod_version = 1.0.9
|
||||||
maven_group = com.thebrokenrail
|
maven_group = com.thebrokenrail
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
Reference in New Issue
Block a user