1
0
mirror of synced 2025-12-25 02:09:19 -05:00

move cdk version into its own file (#66175)

This commit is contained in:
Edward Gao
2025-09-10 14:44:15 -07:00
committed by GitHub
parent 89047383d9
commit 5a6690808f
2 changed files with 8 additions and 1 deletions

View File

@@ -5,8 +5,14 @@ import javax.xml.xpath.XPathConstants
import javax.xml.xpath.XPathFactory
import org.w3c.dom.Document
final var cdkVersion = {
var props = new Properties()
file("core/base/src/main/resources/version.properties").withInputStream(props::load)
return props.getProperty('version', 'undefined')
}()
allprojects {
version = "0.1.27"
version = cdkVersion
apply plugin: 'java-library'
apply plugin: 'maven-publish'

View File

@@ -0,0 +1 @@
0.1.27