aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorisXander <xandersmith2008@gmail.com>2023-05-22 19:33:00 +0100
committerisXander <xandersmith2008@gmail.com>2023-05-22 19:33:00 +0100
commitead0b794ac57e9ab2558338f7f3da7545d2e12ff (patch)
treed1c92f8d3283a8989923e038a377af4a00c24124 /build.gradle.kts
parent590e69f4bf445a39737b0b1552cf116ff780d75e (diff)
downloadYetAnotherConfigLib-ead0b794ac57e9ab2558338f7f3da7545d2e12ff.tar.gz
YetAnotherConfigLib-ead0b794ac57e9ab2558338f7f3da7545d2e12ff.tar.bz2
YetAnotherConfigLib-ead0b794ac57e9ab2558338f7f3da7545d2e12ff.zip
scrollable navbar, group descriptions, auto-scroll descriptions
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts7
1 files changed, 4 insertions, 3 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index d85c3fb..b9fb2df 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -12,7 +12,7 @@ architectury {
minecraft = libs.versions.minecraft.get()
}
-version = "2.5.1-beta.1+1.20"
+version = "3.0.0-beta.1+1.20"
val isBeta = "beta" in version.toString()
val changelogText = rootProject.file("changelogs/${project.version}.md").takeIf { it.exists() }?.readText() ?: "No changelog provided."
@@ -92,6 +92,7 @@ githubRelease {
tagName("${project.version}")
targetCommitish(grgit.branch.current().name)
body(changelogText)
+ prerelease(isBeta)
releaseAssets(
{ findProject(":fabric")?.tasks?.get("remapJar")?.outputs?.files },
{ findProject(":fabric")?.tasks?.get("remapSourcesJar")?.outputs?.files },
@@ -109,6 +110,6 @@ tasks.register("releaseMod") {
tasks.register("buildAll") {
group = "mod"
- dependsOn(project(":fabric").tasks["build"])
- dependsOn(project(":forge").tasks["build"])
+ findProject(":fabric")?.let { dependsOn(it.tasks["build"]) }
+ findProject(":forge")?.let { dependsOn(it.tasks["build"]) }
}