@@ -10,7 +10,7 @@ plugins {
10
10
id(" io.itsusinn.pkg" )
11
11
}
12
12
architectury {
13
- minecraft = " 1.18.2 "
13
+ minecraft = " 1.16.5 "
14
14
platformSetupLoomIde()
15
15
forge()
16
16
}
@@ -22,22 +22,24 @@ repositories {
22
22
}
23
23
pkg {
24
24
excludePath(" META-INF/*.kotlin_module" )
25
- excludePathStartWith(" META-INF/versions" )
26
- excludePathStartWith(" META-INF/proguard" )
27
- excludePathStartWith(" META-INF/maven" )
28
- excludePathStartWith(" org/slf4j" )
29
- excludePathStartWith(" kotlinx/coroutines/flow" )
25
+ excludePath(" META-INF/versions/*" )
26
+ excludePath(" META-INF/proguard/*" )
27
+ excludePath(" META-INF/maven/*" )
28
+ excludePath(" META-INF/com.android.tools/*" )
29
+ excludePath(" org/slf4j/*" )
30
+ excludePath(" org/jetbrains/annotations/*" )
31
+ excludePath(" org/intellij/lang/annotations/*" )
32
+ excludePath(" kotlin/*" )
33
+ excludePath(" kotlinx/*" )
30
34
listOf (" asn1" , " jcajce" , " jce" , " pqc" , " x509" , " math" , " i18n" , " iana" , " internal" ).forEach {
31
- excludePathStartWith (" org/bouncycastle/$it " )
35
+ excludePath (" org/bouncycastle/$it /* " )
32
36
}
33
37
val task = tasks.remapJar.get()
34
38
task.dependsOn(" pkg" )
35
39
shadowJar {
36
40
task.inputFile.set(this .archiveFile)
37
41
}
38
- relocateKotlinStdlib()
39
- relocateKotlinxLib()
40
- kotlinRelocate(" org.yaml.snakeyaml" , " $group .relocate.org.yaml.snakeyaml" )
42
+ kotlinRelocate(" org.yaml.snakeyaml" , " relocate.org.yaml.snakeyaml" )
41
43
}
42
44
43
45
loom {
@@ -46,16 +48,13 @@ loom {
46
48
47
49
dependencies {
48
50
val loom = project.extensions.getByName<LoomGradleExtensionAPI >(" loom" )
49
- minecraft(" com.mojang:minecraft:1.18.2 " )
51
+ minecraft(" com.mojang:minecraft:1.16.5 " )
50
52
mappings(loom.officialMojangMappings())
51
53
52
- forge(" net.minecraftforge:forge:1.18.2-40.0.12 " )
54
+ forge(" net.minecraftforge:forge:1.16.5-36.2.34 " )
53
55
compileOnly(" org.jetbrains.kotlin:kotlin-stdlib" )
54
56
55
57
pkgIn(project(" :common" ))
56
- pkgIn(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0" )
57
- pkgIn(" io.nats:jnats:2.15.3" )
58
- pkgIn(" org.mesagisto:mesagisto-client:1.5.2" )
59
58
}
60
59
61
60
java {
@@ -68,7 +67,6 @@ tasks {
68
67
jvmTarget = " 1.8"
69
68
freeCompilerArgs = listOf (" -Xinline-classes" , " -Xopt-in=kotlin.RequiresOptIn" )
70
69
}
71
- sourceCompatibility = " 1.8"
72
70
}
73
71
processResources {
74
72
inputs.property(" version" , project.version)
0 commit comments