52 lines
1.2 KiB
Diff
52 lines
1.2 KiB
Diff
--- a/build.gradle
|
|
+++ b/build.gradle
|
|
@@ -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
|
|
- enableSnapshotsMaven = isPort
|
|
|
|
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
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
- mavenLocal()
|
|
|
|
maven {
|
|
name = "Modrinth"
|
|
@@ -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 {
|