Skip to content

Commit

Permalink
Added more files to curseforge task
Browse files Browse the repository at this point in the history
  • Loading branch information
Atakku committed Feb 8, 2022
1 parent a5b3b16 commit d94a820
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -178,20 +178,20 @@ subprojects {
}
apiToken = ENV.CURSEFORGE_API_KEY

// The main file to upload
def mainFile = upload(project.curseforge_id, remapJar)
mainFile.releaseType = project.findProperty("version_type") ?: ENV.RELEASE_CHANNEL ?: "release"
mainFile.changelog = ENV.CHANGELOG ?: "No changelog provided"
mainFile.changelogType = 'text'
mainFile.displayName = "[${ENV.GITHUB_REF_NAME}] ${project.mod_name} ${version}"
/*mainFile.addIncompatibility('bookshelf')
//mainFile.addIncompatibility('bookshelf')

def mavenFile = mainFile.withAdditionalFile(remapMavenJar)
mavenFile.releaseType = project.findProperty("version_type") ?: ENV.RELEASE_CHANNEL ?: "release"

// The sources JAR
def sourcesFile = mainFile.withAdditionalFile(sourcesJar)
sourcesFile.changelog = file('changelog.md')
sourcesFile.releaseType = project.findProperty("version_type") ?: ENV.RELEASE_CHANNEL ?: "release"

// The JavaDoc JAR
def javadocFile = mainFile.withAdditionalFile(javadocJar)
/*def javadocFile = mainFile.withAdditionalFile(javadocJar)
javadocFile.changelog = 'This is a test JavaDoc file!'
javadocFile.displayName = "JavaDoc - ${version}"*/
}
Expand Down

0 comments on commit d94a820

Please sign in to comment.