Skip to content

Commit 0726965

Browse files
committed
feat: update versioning logic to prioritize 'version' property over 'baseVersion'
1 parent e7049ed commit 0726965

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ plugins {
77

88
allprojects {
99
group = findProperty('group') as String
10-
version = findProperty('version') ?: findProperty('baseVersion')
10+
if (hasProperty("version")) {
11+
version = findProperty('version') as String
12+
} else {
13+
version = findProperty('baseVersion') as String
14+
}
1115
repositories {
1216
mavenCentral()
1317
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
kotlin.code.style=official
22
group=io.github.eventhorizonlab
3-
baseVersion=0.1.18
3+
baseVersion=0.1.19
44
org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8

0 commit comments

Comments
 (0)