Fix gradle mystery compiler error
Specifically fixes core gradle being unable to access packages found in API
This commit is contained in:
+1
-1
Submodule coreSubProjects updated: 1234e47f55...42d3e38daa
+23
-23
@@ -120,24 +120,24 @@ dependencies {
|
||||
shadowMe(project(path: ":api")) { transitive false }
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
configurations = [project.configurations.shadowCommon, project.configurations.shadowMe, project.configurations.customModule]
|
||||
relocate 'com.seibel.lod.common', 'loaderCommon.fabric.com.seibel.lod.common'
|
||||
|
||||
// Compression
|
||||
relocate 'org.tukaani', 'distanthorizons.libraries.tukaani'
|
||||
|
||||
// NightConfig (includes Toml & Json)
|
||||
relocate 'com.electronwill.nightconfig', 'distanthorizons.libraries.electronwill.nightconfig'
|
||||
|
||||
// Theming
|
||||
relocate 'com.formdev.flatlaf', 'distanthorizons.libraries.formdev.flatlaf'
|
||||
|
||||
// SVG
|
||||
relocate 'com.kitfox.svg', 'distanthorizons.libraries.kitfox.svg'
|
||||
|
||||
mergeServiceFiles()
|
||||
}
|
||||
//shadowJar {
|
||||
// configurations = [project.configurations.shadowCommon, project.configurations.shadowMe, project.configurations.customModule]
|
||||
// relocate 'com.seibel.lod.common', 'loaderCommon.fabric.com.seibel.lod.common'
|
||||
//
|
||||
// // Compression
|
||||
// relocate 'org.tukaani', 'distanthorizons.libraries.tukaani'
|
||||
//
|
||||
// // NightConfig (includes Toml & Json)
|
||||
// relocate 'com.electronwill.nightconfig', 'distanthorizons.libraries.electronwill.nightconfig'
|
||||
//
|
||||
// // Theming
|
||||
// relocate 'com.formdev.flatlaf', 'distanthorizons.libraries.formdev.flatlaf'
|
||||
//
|
||||
// // SVG
|
||||
// relocate 'com.kitfox.svg', 'distanthorizons.libraries.kitfox.svg'
|
||||
//
|
||||
// mergeServiceFiles()
|
||||
//}
|
||||
|
||||
|
||||
task deleteResources(type: Delete) {
|
||||
@@ -166,11 +166,11 @@ sourcesJar {
|
||||
from commonSources.archiveFile.map { zipTree(it) }
|
||||
}
|
||||
|
||||
components.java {
|
||||
withVariantsFromConfiguration(project.configurations.shadowRuntimeElements) {
|
||||
skip()
|
||||
}
|
||||
}
|
||||
//components.java {
|
||||
// withVariantsFromConfiguration(project.configurations.shadowRuntimeElements) {
|
||||
// skip()
|
||||
// }
|
||||
//}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ mod_issues=https://gitlab.com/jeseibel/minecraft-lod-mod/-/issues
|
||||
mod_discord=https://discord.gg/xAB8G4cENx
|
||||
|
||||
# Global Plugin Versions
|
||||
manifold_version=+
|
||||
manifold_version=2023.1.0
|
||||
toml_version=3.6.4
|
||||
nightconfig_version=3.6.6
|
||||
flatlaf_version=2.3
|
||||
|
||||
+2
-2
@@ -77,8 +77,8 @@ include("common")
|
||||
// Enables or disables the subprojects depending on whats in the version.properties
|
||||
if (gradle.builds_for.contains("fabric"))
|
||||
include("fabric")
|
||||
if (gradle.builds_for.contains("quilt"))
|
||||
include("quilt") // Just put this here for once we need it ;)
|
||||
//if (gradle.builds_for.contains("quilt"))
|
||||
// include("quilt") // Just put this here for once we need it ;)
|
||||
//if (gradle.builds_for.contains("forge"))
|
||||
// include("forge")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user