2024-06-11 19:51:28 +02:00
|
|
|
--- 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 {
|
|
|
|
- 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}")
|
|
|
|
}
|
|
|
|
}
|
2024-10-22 20:13:32 +02:00
|
|
|
@@ -40,14 +34,13 @@
|
|
|
|
apply plugin: 'com.hypherionmc.modutils.orion.origami'
|
|
|
|
}
|
2024-06-11 19:51:28 +02:00
|
|
|
|
|
|
|
- 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-09 09:04:27 +02:00
|
|
|
|
2024-10-12 13:54:44 +02:00
|
|
|
maven {
|
|
|
|
name = "Modrinth"
|
2024-10-22 20:13:32 +02:00
|
|
|
@@ -124,7 +117,7 @@
|
2024-10-09 09:04:27 +02:00
|
|
|
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
|
|
it.options.encoding = 'UTF-8'
|
|
|
|
- it.options.release = 21
|
|
|
|
+ it.options.release = 17
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType(GenerateModuleMetadata).configureEach {
|