mirror of
https://github.com/wisplite/crystalline-sky.git
synced 2026-10-30 13:32:18 -05:00
Start implementing sky light
This commit is contained in:
+49
-1
@@ -6,18 +6,53 @@ plugins {
|
||||
alias libs.plugins.minotaur
|
||||
}
|
||||
|
||||
boolean inCI = System.getenv("GITHUB_RUN_NUMBER") != null
|
||||
|
||||
version = "$modVersion+$branchName"
|
||||
base.archivesName = project.slug
|
||||
|
||||
repositories {
|
||||
exclusiveContent {
|
||||
forRepository {
|
||||
//noinspection ForeignDelegate
|
||||
maven {
|
||||
name 'Modrinth'
|
||||
url "https://api.modrinth.com/maven"
|
||||
}
|
||||
}
|
||||
filter {
|
||||
includeGroup "maven.modrinth"
|
||||
}
|
||||
}
|
||||
exclusiveContent {
|
||||
forRepository {
|
||||
//noinspection ForeignDelegate
|
||||
maven {
|
||||
name 'Terraformers'
|
||||
url "https://maven.terraformersmc.com/"
|
||||
}
|
||||
}
|
||||
filter {
|
||||
includeGroup "com.terraformersmc"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
minecraft libs.mc
|
||||
mappings variantOf(libs.yarn) { classifier "v2" }
|
||||
mappings loom.layered {
|
||||
it.mappings variantOf(libs.yarn) { classifier "v2" }
|
||||
it.mappings file("custom_mappings.tiny")
|
||||
}
|
||||
|
||||
modImplementation libs.fl
|
||||
modImplementation libs.fapi
|
||||
|
||||
if (!inCI) {
|
||||
modRuntimeOnly libs.mm
|
||||
}
|
||||
|
||||
include(implementation(annotationProcessor(libs.mixinextras.get())))
|
||||
}
|
||||
|
||||
processResources {
|
||||
@@ -40,6 +75,18 @@ processResources {
|
||||
inputs.properties meta
|
||||
filesMatching("*.mod.json") { expand(meta) }
|
||||
filesMatching("META-INF/*mods.toml") { expand(meta) }
|
||||
|
||||
// don't add development or to-do files into built jar
|
||||
exclude("**/*.bbmodel", "**/*.lnk", "**/*.xcf", "**/*.blend", "**/*.blend1")
|
||||
}
|
||||
|
||||
loom {
|
||||
runs.configureEach {
|
||||
vmArg("-XX:+AllowEnhancedClassRedefinition")
|
||||
vmArg("-XX:+IgnoreUnrecognizedVMOptions")
|
||||
vmArg("-Dmixin.debug.export=true")
|
||||
vmArg("-Dfabric-tag-conventions-v2.missingTagTranslationWarning=VERBOSE")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
@@ -68,6 +115,7 @@ modrinth {
|
||||
token = "$System.env.MODRINTH_TOKEN"
|
||||
projectId = slug
|
||||
versionNumber = project.version
|
||||
versionType = System.getenv().getOrDefault("RELEASE_TYPE", "release")
|
||||
uploadFile = remapJar
|
||||
gameVersions = compatibleVersions.split(", ").toList()
|
||||
loaders = compatibleLoaders.split(", ").toList()
|
||||
|
||||
Reference in New Issue
Block a user