Files
CraterLib/patches/1.19.2/build.gradle.patch

61 lines
1.8 KiB
Diff
Raw Normal View History

--- a/build.gradle
+++ b/build.gradle
2024-10-12 13:54:44 +02:00
@@ -7,21 +7,15 @@
id 'maven-publish'
}
-var relType = project.properties["releaseType"] ?: "${release_type}"
-
-ext {
- isPort = (relType == 'port')
-}
-
orion.setup {
multiProject = true
enableMirrorMaven = true
enableReleasesMaven = true
2024-10-22 18:45:28 +02:00
- //enableSnapshotsMaven = isPort
2024-10-12 13:54:44 +02:00
dopplerToken = System.getenv("DOPPLER_KEY")
versioning {
+ var relType = project.properties["releaseType"] ?: "${release_type}"
identifier("${relType}")
}
}
@@ -35,14 +29,13 @@
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'com.hypherionmc.modutils.modpublisher'
- sourceCompatibility = JavaVersion.VERSION_21
- targetCompatibility = JavaVersion.VERSION_21
+ sourceCompatibility = JavaVersion.VERSION_17
+ targetCompatibility = JavaVersion.VERSION_17
group = rootProject.group
2024-10-12 13:54:44 +02:00
repositories {
mavenCentral()
- mavenLocal()
maven {
name = "Modrinth"
@@ -68,7 +61,7 @@
shade "me.hypherionmc.moon-config:toml:${moon_config}"
shade "me.hypherionmc.moon-config:json:${moon_config}"
shade "com.hypherionmc:rpcsdk:${rpc_sdk}"
- shade "me.hypherionmc.sdlink:mcdiscordformatter-1.20.3:${discord_formatter}"
+ shade "me.hypherionmc.sdlink:mcdiscordformatter-1.19.1:${discord_formatter}"
shade "net.kyori:adventure-api:${adventure}"
shade "net.kyori:adventure-text-serializer-gson:${adventure}"
2024-08-31 12:20:41 +02:00
shade "net.kyori:adventure-text-minimessage:${adventure}"
2024-10-12 13:54:44 +02:00
@@ -117,7 +110,7 @@
tasks.withType(JavaCompile).configureEach {
it.options.encoding = 'UTF-8'
- it.options.release = 21
+ it.options.release = 17
}
tasks.withType(GenerateModuleMetadata).configureEach {