[DEV] Update Porting Patches
This commit is contained in:
@@ -1,6 +1,29 @@
|
||||
--- a/build.gradle
|
||||
+++ b/build.gradle
|
||||
@@ -29,8 +29,8 @@
|
||||
@@ -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'
|
||||
|
||||
@@ -11,7 +34,13 @@
|
||||
|
||||
group = rootProject.group
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
repositories {
|
||||
mavenCentral()
|
||||
- mavenLocal()
|
||||
|
||||
maven {
|
||||
name = "Modrinth"
|
||||
@@ -68,11 +61,13 @@
|
||||
shade "me.hypherionmc.moon-config:toml:${moon_config}"
|
||||
shade "me.hypherionmc.moon-config:json:${moon_config}"
|
||||
shade "com.hypherionmc:rpcsdk:${rpc_sdk}"
|
||||
@@ -20,7 +49,13 @@
|
||||
shade "net.kyori:adventure-api:${adventure}"
|
||||
shade "net.kyori:adventure-text-serializer-gson:${adventure}"
|
||||
shade "net.kyori:adventure-text-minimessage:${adventure}"
|
||||
@@ -112,7 +112,7 @@
|
||||
|
||||
+ stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
||||
+
|
||||
compileOnly 'net.luckperms:api:5.4'
|
||||
compileOnly("org.projectlombok:lombok:${lombok}")
|
||||
annotationProcessor("org.projectlombok:lombok:${lombok}")
|
||||
@@ -117,7 +112,7 @@
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
it.options.encoding = 'UTF-8'
|
||||
|
Reference in New Issue
Block a user