MidnightLib 1.5.1 for 1.20.4

- Port to 1.20.4
- Add back fancy list background
- File size optimizations
- Update tooling
This commit is contained in:
Martin Prokoph
2023-12-07 18:07:09 +01:00
parent 38e2e55a07
commit 29c8a9ccfe
14 changed files with 75 additions and 118 deletions

View File

@@ -12,7 +12,7 @@ loom {
configurations {
common
shadowCommon // Don't use shadow from the shadow plugin because we don't want IDEA to index this.
shadowCommon // Don't use shadow from the shadow plugin since it *excludes* files.
compileClasspath.extendsFrom common
runtimeClasspath.extendsFrom common
developmentFabric.extendsFrom common
@@ -25,8 +25,6 @@ dependencies {
common(project(path: ":common", configuration: "namedElements")) { transitive false }
shadowCommon(project(path: ":common", configuration: "transformProductionFabric")) { transitive false }
common(project(path: ":fabric-like", configuration: "namedElements")) { transitive false }
shadowCommon(project(path: ":fabric-like", configuration: "transformProductionFabric")) { transitive false }
}
processResources {
@@ -41,17 +39,13 @@ shadowJar {
exclude "architectury.common.json"
configurations = [project.configurations.shadowCommon]
classifier "dev-shadow"
archiveClassifier = "dev-shadow"
}
remapJar {
injectAccessWidener = true
input.set shadowJar.archiveFile
dependsOn shadowJar
classifier null
}
jar {
classifier "dev"
}
sourcesJar {
@@ -69,7 +63,7 @@ components.java {
publishing {
publications {
mavenFabric(MavenPublication) {
artifactId = rootProject.archives_base_name + "-" + project.name
artifactId = archives_base_name + "-" + project.name
from components.java
}
}
@@ -78,4 +72,4 @@ publishing {
repositories {
// Add repositories to publish to here.
}
}
}