@@ -7,7 +7,10 @@ plugins {
77}
88
99version = " $baseVersion +$branch "
10- archivesBaseName = project. slug
10+
11+ base {
12+ archivesName = project. slug
13+ }
1114
1215repositories {
1316 maven { url " https://staging.alexiil.uk/maven/" }
@@ -20,15 +23,14 @@ dependencies {
2023 include libs. kaleidoConfig
2124
2225 minecraft libs. mc
23- mappings loom. officialMojangMappings()
2426
25- modImplementation libs. fl
26- modImplementation libs. fapi
27+ implementation libs. fl
28+ implementation libs. fapi
2729
28- modImplementation libs. libgui
29- modImplementation libs. fpapi
30+ // modImplementation libs.libgui
31+ implementation libs. fpapi
3032
31- include libs. libgui
33+ // include libs.libgui
3234 include libs. fpapi
3335}
3436
@@ -51,7 +53,7 @@ processResources {
5153 mc : compatibleVersions. split(" , " )[0 ],
5254 fl : libs. versions. fl. get(),
5355 fapi : libs. versions. fapi. get(),
54- libgui : libs. versions. libgui. get(),
56+ // libgui : libs.versions.libgui.get(),
5557 fpapi : libs. versions. fpapi. get()
5658 ]
5759 inputs. properties meta
@@ -61,18 +63,18 @@ processResources {
6163
6264tasks. withType(JavaCompile ). configureEach {
6365 it. options. encoding = " UTF-8"
64- it. options. release = 21
66+ it. options. release = 25
6567}
6668
6769java {
6870 withSourcesJar()
69- sourceCompatibility = JavaVersion . VERSION_21
70- targetCompatibility = JavaVersion . VERSION_21
71+ sourceCompatibility = JavaVersion . VERSION_25
72+ targetCompatibility = JavaVersion . VERSION_25
7173}
7274
7375jar {
7476 from(" LICENSE" ) {
75- rename { " ${ it} _${ archivesBaseName } " }
77+ rename { " ${ it} _${ project.base.archivesName.get() } " }
7678 }
7779}
7880
@@ -88,7 +90,7 @@ modrinth {
8890 token = " $System . env . MODRINTH_TOKEN "
8991 projectId = slug
9092 versionNumber = project. version
91- uploadFile = remapJar
93+ uploadFile = jar
9294 gameVersions = compatibleVersions. split(" , " ). toList()
9395 loaders = compatibleLoaders. split(" , " ). toList()
9496 changelog = " $System . env . CHANGELOG "
0 commit comments