mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-26 04:47:59 +01:00
Looming danger
- Bump arch loom and gradle versions - Do not set default refmap name - Enable legacy mixin ap in loom - Individually add sourcesets to looms refmap stuffs
This commit is contained in:
parent
fb41248c4c
commit
dfc1e3a397
5 changed files with 16 additions and 5 deletions
|
@ -48,12 +48,9 @@ class SubprojectPlugin: Plugin<Project> {
|
|||
}
|
||||
}
|
||||
|
||||
@Suppress("UnstableApiUsage")
|
||||
private fun setupLoom(project: Project) {
|
||||
val loom = project.the<LoomGradleExtensionAPI>()
|
||||
loom.silentMojangMappingsLicense()
|
||||
|
||||
loom.mixin.defaultRefmapName = "flywheel.refmap.json"
|
||||
}
|
||||
|
||||
private fun setupJava(project: Project) {
|
||||
|
|
|
@ -60,6 +60,14 @@ defaultPackageInfos {
|
|||
sources(api, lib, backend, main)
|
||||
}
|
||||
|
||||
loom {
|
||||
mixin {
|
||||
useLegacyMixinAp = true
|
||||
add(main, "flywheel.refmap.json")
|
||||
add(backend, "backend-flywheel.refmap.json")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
modImplementation("net.fabricmc:fabric-loader:${property("fabric_loader_version")}")
|
||||
modApi("net.fabricmc.fabric-api:fabric-api:${property("fabric_api_version")}")
|
||||
|
|
|
@ -61,6 +61,12 @@ defaultPackageInfos {
|
|||
}
|
||||
|
||||
loom {
|
||||
mixin {
|
||||
useLegacyMixinAp = true
|
||||
add(main, "flywheel.refmap.json")
|
||||
add(backend, "backend-flywheel.refmap.json")
|
||||
}
|
||||
|
||||
forge {
|
||||
mixinConfig("flywheel.backend.mixins.json")
|
||||
mixinConfig("flywheel.impl.mixins.json")
|
||||
|
|
|
@ -19,7 +19,7 @@ forge_version_range = [47.0.0,)
|
|||
|
||||
# General build dependency versions
|
||||
java_version = 17
|
||||
arch_loom_version = 1.6.397
|
||||
arch_loom_version=1.7.412
|
||||
cursegradle_version = 1.4.0
|
||||
parchment_version = 2023.09.03
|
||||
|
||||
|
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -1,6 +1,6 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
|
Loading…
Reference in a new issue