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,14 @@
|
2024-10-12 13:54:44 +02:00
|
|
|
id 'maven-publish'
|
|
|
|
}
|
|
|
|
|
|
|
|
-var relType = project.properties["releaseType"] ?: "${release_type}"
|
|
|
|
-
|
|
|
|
-ext {
|
|
|
|
- isPort = (relType == 'port')
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
orion.setup {
|
2024-06-11 19:51:28 +02:00
|
|
|
multiProject = true
|
|
|
|
enableMirrorMaven = true
|
|
|
|
enableReleasesMaven = true
|
2024-10-22 18:45:28 +02:00
|
|
|
- //enableSnapshotsMaven = isPort
|
2024-06-11 19:51:28 +02:00
|
|
|
-
|
|
|
|
dopplerToken = System.getenv("DOPPLER_KEY")
|
|
|
|
|
|
|
|
versioning {
|
2024-10-12 13:54:44 +02:00
|
|
|
+ var relType = project.properties["releaseType"] ?: "${release_type}"
|
|
|
|
identifier("${relType}")
|
|
|
|
}
|
|
|
|
}
|
2024-10-22 20:13:32 +02:00
|
|
|
@@ -40,14 +33,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()
|
|
|
|
|
|
|
|
maven {
|
|
|
|
name = "Modrinth"
|
2025-02-01 15:30:30 +02:00
|
|
|
@@ -77,7 +69,7 @@
|
2024-06-11 19:51:28 +02:00
|
|
|
shade "me.hypherionmc.moon-config:toml:${moon_config}"
|
2024-08-10 15:17:10 +02:00
|
|
|
shade "me.hypherionmc.moon-config:json:${moon_config}"
|
2024-06-11 19:51:28 +02:00
|
|
|
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}"
|
2025-02-01 15:30:30 +02:00
|
|
|
@@ -128,7 +120,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 {
|