mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 16:35:50 +00:00
update build to support 1.19
This commit is contained in:
parent
4c2ece3eb7
commit
cd57a32f31
@ -3,6 +3,15 @@ plugins {
|
|||||||
kotlin("jvm") version embeddedKotlinVersion
|
kotlin("jvm") version embeddedKotlinVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buildscript {
|
||||||
|
configurations.all {
|
||||||
|
resolutionStrategy {
|
||||||
|
force("org.ow2.asm:asm:9.3") // TODO: remove when ShadowJar updates ASM version
|
||||||
|
force("org.ow2.asm:asm-commons:9.3")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
@ -11,8 +20,8 @@ repositories {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("gradle.plugin.com.github.jengelman.gradle.plugins:shadow:+")
|
implementation("gradle.plugin.com.github.jengelman.gradle.plugins:shadow:+")
|
||||||
implementation("org.ow2.asm:asm:9.2")
|
implementation("org.ow2.asm:asm:9.3")
|
||||||
implementation("org.ow2.asm:asm-tree:9.2")
|
implementation("org.ow2.asm:asm-tree:9.3")
|
||||||
implementation("com.dfsek.tectonic:common:4.2.0")
|
implementation("com.dfsek.tectonic:common:4.2.0")
|
||||||
implementation("org.yaml:snakeyaml:1.27")
|
implementation("org.yaml:snakeyaml:1.27")
|
||||||
}
|
}
|
@ -19,9 +19,9 @@ object Versions {
|
|||||||
|
|
||||||
object Fabric {
|
object Fabric {
|
||||||
const val fabricLoader = "0.14.2"
|
const val fabricLoader = "0.14.2"
|
||||||
const val fabricAPI = "0.53.4+1.18.2"
|
const val fabricAPI = "0.53.4+1.19"
|
||||||
const val minecraft = "1.18.2"
|
const val minecraft = "1.19-pre4"
|
||||||
const val yarn = "$minecraft+build.3"
|
const val yarn = "$minecraft+build.1"
|
||||||
const val permissionsAPI = "0.1-SNAPSHOT"
|
const val permissionsAPI = "0.1-SNAPSHOT"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ dependencies {
|
|||||||
|
|
||||||
modImplementation("net.fabricmc:fabric-loader:${Versions.Fabric.fabricLoader}")
|
modImplementation("net.fabricmc:fabric-loader:${Versions.Fabric.fabricLoader}")
|
||||||
|
|
||||||
setOf("fabric-command-api-v1", "fabric-lifecycle-events-v1", "fabric-resource-loader-v0", "fabric-api-base").forEach { apiModule ->
|
setOf("fabric-command-api-v2", "fabric-lifecycle-events-v1", "fabric-resource-loader-v0", "fabric-api-base").forEach { apiModule ->
|
||||||
val module = fabricApi.module(apiModule, Versions.Fabric.fabricAPI)
|
val module = fabricApi.module(apiModule, Versions.Fabric.fabricAPI)
|
||||||
modImplementation(module)
|
modImplementation(module)
|
||||||
include(module)
|
include(module)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user