Cleaned up some gradle stuff

This commit is contained in:
coolGi2007
2022-01-30 16:02:20 +10:30
parent 3a0deb5111
commit c75f50a29a
4 changed files with 7 additions and 9 deletions
-1
View File
@@ -30,5 +30,4 @@ publishing {
dependencies {
implementation("com.electronwill.night-config:toml:${rootProject.toml_version}")
shadowMe("com.electronwill.night-config:toml:${rootProject.toml_version}") {}
}
+1 -2
View File
@@ -1,9 +1,8 @@
plugins {
id "com.github.johnrengelman.shadow" version "7.0.0"
id "com.modrinth.minotaur" version "1.2.1"
}
version = project.mod_version+"-"+project.minecraft_version+"-"+new Date().format("MM_dd_yyyy_HH_mm")
version = rootProject.mod_version+"-"+rootProject.minecraft_version+"-"+new Date().format("yyyy_MM_dd_HH_mm")
loom {
accessWidenerPath.set(project(":common").file("src/main/resources/lod.accesswidener"))
+4 -4
View File
@@ -2,7 +2,7 @@ plugins {
id "com.github.johnrengelman.shadow" version "7.0.0"
}
version = project.mod_version+"-"+project.minecraft_version+"-"+new Date().format("MM_dd_yyyy_HH_mm")
version = rootProject.mod_version+"-"+rootProject.minecraft_version+"-"+new Date().format("yyyy_MM_dd_HH_mm")
loom {
accessWidenerPath.set(project(":common").file("src/main/resources/lod.accesswidener"))
@@ -35,8 +35,8 @@ dependencies {
// Starlight
// modImplementation("curse.maven:starlight-forge-526854:${rootProject.starlight_version_forge}")
// implementation("com.electronwill.night-config:toml:${rootProject.toml_version}")
// forgeDependencies(shadowMe("com.electronwill.night-config:toml:${rootProject.toml_version}") {})
// implementation("com.electronwill.night-config:toml:${rootProject.toml_version}") // This is already included with forge
// forgeDependencies(shadowMe("com.electronwill.night-config:toml:${rootProject.toml_version}") {}) // This is already included with forge
// forgeDependencies(project(":core")) { transitive false }
@@ -96,7 +96,7 @@ shadowJar {
configurations = [project.configurations.shadowMe]
relocate 'org.tukaani', 'shaded.tukaani'
relocate 'org.apache.commons.compress', 'shaded.apache.commons.compress'
// relocate 'com.electronwill.nightconfig', 'shaded.electronwill.nightconfig'
// relocate 'com.electronwill.nightconfig', 'shaded.electronwill.nightconfig' // This is already included with forge
relocate 'com.seibel.lod.common', 'forge.com.seibel.lod.common'
+2 -2
View File
@@ -5,12 +5,12 @@ minecraft_version=1.17.1
archives_base_name=DistantHorizons
mod_version=1.6.0a-pre
maven_group=com.seibel.lod
toml_version=3.6.0
toml_version=3.6.4
# Mod info
mod_name=Distant Horizons
mod_description=This mod generates and renders simplified terrain beyond the normal view distance at a low performance cost. Allowing you to see much farther without turning your game into a slideshow.
mod_authors=James Seibel, Leonardo Amato, Cola, coolGi2007, Ran
mod_authors=James Seibel, Leonardo Amato, Cola, coolGi2007, Ran, LeeTom
# Fabric loader
fabric_loader_version=0.12.6