This commit is contained in:
parent
bc36e1d390
commit
c3c45a033e
@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
**1.0.5**
|
||||
* Fix Crash
|
||||
|
||||
**1.0.4**
|
||||
* Improve File Compatibility Check
|
||||
|
||||
|
23
build.gradle
23
build.gradle
@ -1,6 +1,7 @@
|
||||
plugins {
|
||||
id 'fabric-loom' version '0.4-SNAPSHOT'
|
||||
id 'com.matthewprenger.cursegradle' version '1.4.0'
|
||||
id "com.github.johnrengelman.shadow" version "5.2.0"
|
||||
}
|
||||
|
||||
compileJava {
|
||||
@ -22,14 +23,32 @@ dependencies {
|
||||
modImplementation "io.github.prospector:modmenu:${project.modmenu_version}"
|
||||
|
||||
implementation "com.squareup.moshi:moshi:${project.moshi_version}"
|
||||
include "com.squareup.moshi:moshi:${project.moshi_version}"
|
||||
shadow "com.squareup.moshi:moshi:${project.moshi_version}"
|
||||
|
||||
implementation "org.dom4j:dom4j:${project.dom4j_version}"
|
||||
include "org.dom4j:dom4j:${project.dom4j_version}"
|
||||
shadow "org.dom4j:dom4j:${project.dom4j_version}"
|
||||
|
||||
compileOnly 'com.google.code.findbugs:jsr305:3.0.2'
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
configurations = [project.configurations.shadow]
|
||||
classifier 'shadow-dev'
|
||||
}
|
||||
|
||||
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 {
|
||||
inputs.property "version", project.version
|
||||
|
||||
|
@ -9,7 +9,7 @@ org.gradle.jvmargs = -Xmx1G
|
||||
fabric_loader_version = 0.8.8+build.202
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.0.4
|
||||
mod_version = 1.0.5
|
||||
maven_group = com.thebrokenrail
|
||||
|
||||
# Dependencies
|
||||
|
Reference in New Issue
Block a user