mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-23 03:17:53 +01:00
Last fixes
This commit is contained in:
parent
b408191d0f
commit
93c116384f
7 changed files with 8 additions and 6 deletions
|
@ -99,6 +99,7 @@ class SubprojectPlugin: Plugin<Project> {
|
||||||
private fun setupDependencies(project: Project) {
|
private fun setupDependencies(project: Project) {
|
||||||
project.dependencies.apply {
|
project.dependencies.apply {
|
||||||
val minecraft_version: String by project
|
val minecraft_version: String by project
|
||||||
|
val parchment_minecraft_version: String by project
|
||||||
val parchment_version: String by project
|
val parchment_version: String by project
|
||||||
val loom = project.the<LoomGradleExtensionAPI>()
|
val loom = project.the<LoomGradleExtensionAPI>()
|
||||||
|
|
||||||
|
@ -106,7 +107,7 @@ class SubprojectPlugin: Plugin<Project> {
|
||||||
|
|
||||||
add("mappings", loom.layered {
|
add("mappings", loom.layered {
|
||||||
officialMojangMappings()
|
officialMojangMappings()
|
||||||
parchment("org.parchmentmc.data:parchment-${minecraft_version}:${parchment_version}@zip")
|
parchment("org.parchmentmc.data:parchment-${parchment_minecraft_version}:${parchment_version}@zip")
|
||||||
})
|
})
|
||||||
|
|
||||||
add("api", "com.google.code.findbugs:jsr305:3.0.2")
|
add("api", "com.google.code.findbugs:jsr305:3.0.2")
|
||||||
|
|
|
@ -72,7 +72,7 @@ jarSets {
|
||||||
dependencies {
|
dependencies {
|
||||||
modCompileOnly("net.fabricmc:fabric-loader:${property("fabric_loader_version")}")
|
modCompileOnly("net.fabricmc:fabric-loader:${property("fabric_loader_version")}")
|
||||||
|
|
||||||
modCompileOnly(":sodium-fabric-0.6.0-beta.2+mc1.21.1")
|
modCompileOnly("maven.modrinth:sodium:${property("sodium_version")}-fabric")
|
||||||
|
|
||||||
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
|
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,7 +72,7 @@ dependencies {
|
||||||
modImplementation("net.fabricmc:fabric-loader:${property("fabric_loader_version")}")
|
modImplementation("net.fabricmc:fabric-loader:${property("fabric_loader_version")}")
|
||||||
modApi("net.fabricmc.fabric-api:fabric-api:${property("fabric_api_version")}")
|
modApi("net.fabricmc.fabric-api:fabric-api:${property("fabric_api_version")}")
|
||||||
|
|
||||||
modCompileOnly(":sodium-fabric-0.6.0-beta.2+mc1.21.1")
|
modCompileOnly("maven.modrinth:sodium:${property("sodium_version")}-fabric")
|
||||||
modCompileOnly("maven.modrinth:iris:${property("iris_version")}-fabric")
|
modCompileOnly("maven.modrinth:iris:${property("iris_version")}-fabric")
|
||||||
|
|
||||||
"forApi"(project(path = ":common", configuration = "commonApiOnly"))
|
"forApi"(project(path = ":common", configuration = "commonApiOnly"))
|
||||||
|
|
|
@ -82,7 +82,7 @@ repositories {
|
||||||
dependencies {
|
dependencies {
|
||||||
neoForge("net.neoforged:neoforge:${property("neoforge_version")}")
|
neoForge("net.neoforged:neoforge:${property("neoforge_version")}")
|
||||||
|
|
||||||
modCompileOnly(":sodium-neoforge-0.6.0-beta.2+mc1.21.1")
|
modCompileOnly("maven.modrinth:sodium:${property("sodium_version")}-neoforge")
|
||||||
modCompileOnly("maven.modrinth:iris:${property("iris_version")}-neoforge")
|
modCompileOnly("maven.modrinth:iris:${property("iris_version")}-neoforge")
|
||||||
|
|
||||||
"forApi"(project(path = ":common", configuration = "commonApiOnly"))
|
"forApi"(project(path = ":common", configuration = "commonApiOnly"))
|
||||||
|
|
|
@ -21,16 +21,17 @@ neoforge_version_range = [21.1.66,)
|
||||||
java_version = 21
|
java_version = 21
|
||||||
arch_loom_version = 1.7.412
|
arch_loom_version = 1.7.412
|
||||||
cursegradle_version = 1.4.0
|
cursegradle_version = 1.4.0
|
||||||
|
parchment_minecraft_version = 1.21
|
||||||
parchment_version = 2024.07.07
|
parchment_version = 2024.07.07
|
||||||
|
|
||||||
# Minecraft build dependency versions
|
# Minecraft build dependency versions
|
||||||
minecraft_version = 1.21.1
|
minecraft_version = 1.21.1
|
||||||
neoforge_version = 21.1.66
|
neoforge_version = 21.1.66
|
||||||
fabric_loader_version = 0.16.5
|
fabric_loader_version = 0.16.5
|
||||||
fabric_api_version = 0.105.0+1.21
|
fabric_api_version = 0.105.0+1.21.1
|
||||||
|
|
||||||
# Build dependency mod versions
|
# Build dependency mod versions
|
||||||
sodium_version = mc1.21-0.6.0-beta.1
|
sodium_version = mc1.21-0.6.0-beta.2
|
||||||
iris_version = 1.8.0-beta.1+1.21
|
iris_version = 1.8.0-beta.1+1.21
|
||||||
|
|
||||||
# Publication info
|
# Publication info
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue