summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2023-01-27 21:22:59 +0000
committerFabian Mastenbroek <mail.fabianm@gmail.com>2023-01-27 21:33:17 +0000
commit8a9c9638c51d6b2834ac5d57585b7814f5a9d698 (patch)
treea570071ff6d3f601327d4ec9a06277e963bdcced
parentb67096636fd6ef518ee624a0797d38d474aeebee (diff)
build: Allow version to be overridable
This change updates the Gradle configuration to allow the user to overide the version number OpenDC will use when producing the build artifacts.
-rw-r--r--build.gradle.kts3
-rw-r--r--gradle.properties3
2 files changed, 3 insertions, 3 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 42a7f366..1a64b77e 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -24,3 +24,6 @@ plugins {
`dokka-conventions`
`jacoco-aggregation`
}
+
+group = "org.opendc"
+version = "3.0-SNAPSHOT"
diff --git a/gradle.properties b/gradle.properties
index 99952a92..06c56148 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -20,9 +20,6 @@
# SOFTWARE.
#
-group = org.opendc
-version = 3.0-SNAPSHOT
-
# For Dokka https://github.com/Kotlin/dokka/issues/1405
org.gradle.jvmargs=-XX:MaxMetaspaceSize=2G