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 {
|
} else {
|
||||||
changes = ""
|
changes = ""
|
||||||
}
|
}
|
||||||
def token = new File(projectDir, "../MODRINTH_TOKEN")
|
def modrinth_token = new File(projectDir, "../MODRINTH_TOKEN")
|
||||||
if (token.exists()) {
|
if (modrinth_token.exists()) {
|
||||||
token = token.text
|
modrinth_token = modrinth_token.text
|
||||||
} else {
|
} else {
|
||||||
token = ""
|
modrinth_token = ""
|
||||||
}
|
}
|
||||||
def slurper = new groovy.json.JsonSlurper()
|
def slurper = new groovy.json.JsonSlurper()
|
||||||
token = token
|
token = modrinth_token
|
||||||
projectId = project.archives_base_name
|
projectId = project.archives_base_name
|
||||||
versionNumber = project.mod_version
|
versionNumber = project.mod_version
|
||||||
versionType = project.release_channel
|
versionType = project.release_channel
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue