Skip to content

Commit

Permalink
Add custom release Gradle task
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaxydog committed Jun 13, 2024
1 parent c592fe7 commit 9b6dbd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ processResources {
tasks.withType(JavaCompile).configureEach { it.options.release = 21 }
tasks.githubRelease.dependsOn(tasks.build)
tasks.modrinth.dependsOn(tasks.build, tasks.modrinthSyncBody)
tasks.register("release") { it.dependsOn(tasks.githubRelease, tasks.modrinth) }

java {
withSourcesJar()
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ mod_version = 1.4.0
maven_group = dev.jaxydog.lodestone
archives_base_name = lodestone
modrinth_id = lodestone-lib
publish_debug = false
publish_debug = true

# Dependency versions
fabric_version = 0.100.0+1.21

0 comments on commit 9b6dbd6

Please sign in to comment.