Move the api sub-project into core
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
version = "API-" + rootProject.versionStr
|
||||
|
||||
configurations {
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
exclude "architectury.common.json"
|
||||
configurations = [project.configurations.shadowMe]
|
||||
|
||||
// Compression
|
||||
relocate 'org.tukaani', 'distanthorizons.libraries.tukaani'
|
||||
relocate 'org.apache.commons.compress', 'distanthorizons.libraries.apache.commons.compress'
|
||||
|
||||
// Toml & Json for config
|
||||
relocate 'com.electronwill.nightconfig', 'distanthorizons.libraries.electronwill.nightconfig'
|
||||
|
||||
// FIXME: This is a massive library that is located in lots of different spots
|
||||
relocate 'com.googlecode.json-simple', 'distanthorizons.libraries.googlecode.json-simple'
|
||||
relocate 'org.json.simple', 'distanthorizons.libraries.json.simple'
|
||||
|
||||
// Theming
|
||||
relocate 'com.formdev.flatlaf', 'distanthorizons.libraries.formdev.flatlaf'
|
||||
|
||||
// SVG
|
||||
relocate 'com.kitfox.svg', 'distanthorizons.libraries.kitfox.svg'
|
||||
|
||||
classifier null
|
||||
mergeServiceFiles()
|
||||
}
|
||||
|
||||
// Using jar.finalizedBy(shadowJar) causes issues so we do this scuffed bypass
|
||||
jar.dependsOn(shadowJar)
|
||||
jar.enabled(false)
|
||||
@@ -1,4 +0,0 @@
|
||||
package com.seibel.lod.api;
|
||||
|
||||
public interface PleaseDeleteThisClass {
|
||||
}
|
||||
+1
-1
Submodule coreSubProjects updated: 9799b0a263...14d0e65c68
@@ -15,5 +15,6 @@ include("forge")
|
||||
include("core")
|
||||
project(":core").projectDir = file('coreSubProjects/core')
|
||||
include("api")
|
||||
project(":api").projectDir = file('coreSubProjects/api')
|
||||
|
||||
rootProject.name = "DistantHorizons"
|
||||
|
||||
Reference in New Issue
Block a user