Minor fixes
This commit is contained in:
parent
6e21b288d0
commit
41b1d9eb68
1 changed files with 5 additions and 5 deletions
10
build.gradle
10
build.gradle
|
@ -80,14 +80,14 @@ modrinth {
|
|||
} else {
|
||||
changes = ""
|
||||
}
|
||||
def token = new File(projectDir, "../MODRINTH_TOKEN")
|
||||
if (token.exists()) {
|
||||
token = token.text
|
||||
def modrinth_token = new File(projectDir, "../MODRINTH_TOKEN")
|
||||
if (modrinth_token.exists()) {
|
||||
modrinth_token = modrinth_token.text
|
||||
} else {
|
||||
token = ""
|
||||
modrinth_token = ""
|
||||
}
|
||||
def slurper = new groovy.json.JsonSlurper()
|
||||
token = token
|
||||
token = modrinth_token
|
||||
projectId = project.archives_base_name
|
||||
versionNumber = project.mod_version
|
||||
versionType = project.release_channel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue