This repository was archived by the owner on Feb 11, 2025. It is now read-only.
File tree 2 files changed +12
-15
lines changed
2 files changed +12
-15
lines changed Original file line number Diff line number Diff line change 32
32
- name : Publish mod
33
33
run : |
34
34
chmod +x gradlew
35
- ./gradlew publishMod --stacktrace -Porg.gradle.parallel.threads=4
35
+ ./gradlew build publishMod --stacktrace -Porg.gradle.parallel.threads=4
36
36
env :
37
37
CURSEFORGE_TOKEN : ${{ secrets.CURSEFORGE_TOKEN }}
38
38
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -73,19 +73,16 @@ publisher {
73
73
modrinth = System . getenv(" MODRINTH_TOKEN" )
74
74
}
75
75
76
- curseID = project. curseforge_id
77
- modrinthID = project. modrinth_id
78
- versionType = " release"
79
- changelog = file(" CHANGELOG.md" ). getText(' UTF-8' )
80
- version = " $project . version "
81
- displayName = " ChecklistLocalizer- $project . version "
82
- gameVersions = [ " 1.20.1" ]
83
- curseEnvironment = " client "
84
- loaders = [ " forge " ]
85
- artifact = remapJar
76
+ setCurseID( " $ project . curseforge_id " )
77
+ setModrinthID( " $ project . modrinth_id " )
78
+ setVersionType( " release" )
79
+ setChangelog( file(" CHANGELOG.md" ). getText(" UTF-8" ) )
80
+ setVersion( " $project . version " )
81
+ setDisplayName( " $project . version " )
82
+ setGameVersions( " 1.20.1" )
83
+ setLoaders(loom . platform . get() . id())
84
+ setCurseEnvironment( " client " )
85
+ setArtifact( remapJar)
86
86
addAdditionalFile(sourcesJar)
87
-
88
- curseDepends {
89
- required " checklist"
90
- }
87
+ curseDepends. required(" checklist" )
91
88
}
You can’t perform that action at this time.
0 commit comments