--- a/build.gradle +++ b/build.gradle @@ -8,21 +8,15 @@ 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" @@ -77,7 +70,7 @@ shade "me.hypherionmc.moon-config:toml:${moon_config}" shade "me.hypherionmc.moon-config:json:${moon_config}" 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}" shade "net.kyori:adventure-text-minimessage:${adventure}" @@ -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 {