@@ -14,6 +14,9 @@ val forgematica_version: String by project
14
14
val archives_base_name: String by project
15
15
val mod_version: String by project
16
16
17
+ val curseforge_id: String by project
18
+ val modrinth_id: String by project
19
+
17
20
base.archivesName = archives_base_name
18
21
version = " ${mod_version} +mc${minecraft_version} "
19
22
@@ -65,14 +68,14 @@ publisher {
65
68
apiKeys.modrinth(System .getenv(" MODRINTH_TOKEN" ))
66
69
apiKeys.curseforge(System .getenv(" CURSEFORGE_TOKEN" ))
67
70
68
- curseID.set(" $project . curseforge_id" )
69
- modrinthID.set(" $project . modrinth_id" )
71
+ curseID.set(" $curseforge_id " )
72
+ modrinthID.set(" $modrinth_id " )
70
73
versionType.set(" release" )
71
74
changelog.set(file(" CHANGELOG.md" ))
72
- displayName.set(" $project .version " )
75
+ displayName.set(" ${mod_version} +mc ${minecraft_version} " )
73
76
gameVersions.set(listOf (" 1.21.3" ))
74
77
loaders.set(listOf (loom.platform.get().id()))
75
- projectVersion.set(" $project .version " )
78
+ projectVersion.set(" ${mod_version} +mc ${minecraft_version} " )
76
79
artifact.set(tasks.remapJar)
77
80
addAdditionalFile(tasks.remapSourcesJar)
78
81
}
0 commit comments