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

52 lines
1.2 KiB
Diff
Raw Normal View History

--- a/build.gradle
+++ b/build.gradle
2024-10-22 20:13:32 +02:00
@@ -8,21 +8,15 @@
2024-10-12 13:54:44 +02:00
id 'maven-publish'
}
-var relType = project.properties["releaseType"] ?: "${release_type}"
-
-ext {
2025-03-09 15:14:41 +02:00
- isPort = (relType == 'experimental')
2024-10-12 13:54:44 +02:00
-}
-
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}")
}
}
2024-10-22 20:13:32 +02:00
@@ -40,14 +34,13 @@
apply plugin: 'com.hypherionmc.modutils.orion.origami'
}
- 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()
2024-10-12 13:54:44 +02:00
maven {
name = "Modrinth"
@@ -128,7 +121,7 @@
tasks.withType(JavaCompile).configureEach {
it.options.encoding = 'UTF-8'
- it.options.release = 21
+ it.options.release = 17
}
tasks.withType(GenerateModuleMetadata).configureEach {