59 lines
1.7 KiB
Diff
59 lines
1.7 KiB
Diff
--- a/build.gradle
|
|
+++ b/build.gradle
|
|
@@ -3,26 +3,20 @@
|
|
id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
|
|
id "xyz.wagyourtail.unimined" version "1.3.9" apply false
|
|
id "com.hypherionmc.modutils.modpublisher" version "2.1.6"
|
|
- id "com.hypherionmc.modutils.orion" version "1.0.28"
|
|
- id "com.hypherionmc.modutils.orion.origami" version "1.0.28" apply false
|
|
+ id "com.hypherionmc.modutils.orion" version "1.0.24"
|
|
+ id "com.hypherionmc.modutils.orion.origami" version "1.0.24" apply false
|
|
id 'maven-publish'
|
|
}
|
|
|
|
-var relType = project.properties["releaseType"] ?: "${release_type}"
|
|
-
|
|
-ext {
|
|
- isPort = false //(relType == 'experimental')
|
|
-}
|
|
-
|
|
orion.setup {
|
|
multiProject = true
|
|
enableMirrorMaven = true
|
|
enableReleasesMaven = true
|
|
- enableSnapshotsMaven = isPort
|
|
|
|
dopplerToken = System.getenv("DOPPLER_KEY")
|
|
|
|
versioning {
|
|
+ var relType = project.properties["releaseType"] ?: "${release_type}"
|
|
identifier("${relType}")
|
|
}
|
|
}
|
|
@@ -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
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
- mavenLocal()
|
|
|
|
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 {
|