Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-19 17:30:08 +01:00
a353c12df0
* 1.20.6 Signed-off-by: Alexander Brandes <mc.cache@web.de> * work Signed-off-by: Alexander Brandes <mc.cache@web.de> * More work Signed-off-by: Alexander Brandes <mc.cache@web.de> * chore: address more removed fields and methods, make it run * chore: don't allocate unnecessary arrays (by maps) * chore: the comment might still be noteworthy * chore: no need to synchronize twice * fix obfuscation changes * remove unneeded deprecation * make regen work without throwing exceptions - but slow * fix: error when adapting BaseItemStacks without nbt * fix annoying paper api breakage --------- Signed-off-by: Alexander Brandes <mc.cache@web.de> Co-authored-by: Alexander Brandes <mc.cache@web.de> Co-authored-by: Pierre Maurice Schwang <mail@pschwang.eu>
47 Zeilen
1.2 KiB
Plaintext
47 Zeilen
1.2 KiB
Plaintext
import java.util.Properties
|
|
|
|
plugins {
|
|
`kotlin-dsl`
|
|
kotlin("jvm") version embeddedKotlinVersion
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
maven {
|
|
name = "EngineHub"
|
|
url = uri("https://maven.enginehub.org/repo/")
|
|
}
|
|
}
|
|
|
|
val properties = Properties().also { props ->
|
|
project.projectDir.resolveSibling("gradle.properties").bufferedReader().use {
|
|
props.load(it)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(gradleApi())
|
|
implementation("org.ajoberstar.grgit:grgit-gradle:5.2.2")
|
|
implementation("com.github.johnrengelman:shadow:8.1.1")
|
|
implementation("io.papermc.paperweight.userdev:io.papermc.paperweight.userdev.gradle.plugin:1.7.1")
|
|
constraints {
|
|
val asmVersion = "[9.7,)"
|
|
implementation("org.ow2.asm:asm:$asmVersion") {
|
|
because("Need Java 21 support in shadow")
|
|
}
|
|
implementation("org.ow2.asm:asm-commons:$asmVersion") {
|
|
because("Need Java 21 support in shadow")
|
|
}
|
|
implementation("org.vafer:jdependency:[2.10,)") {
|
|
because("Need Java 21 support in shadow")
|
|
}
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain {
|
|
(this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of(21))
|
|
}
|
|
}
|