This commit is contained in:
HapeLee
2025-09-30 17:33:27 +08:00
parent 09413c3669
commit 3ac268b381
2 changed files with 10 additions and 3 deletions
+7 -3
View File
@@ -15,10 +15,14 @@ plugins {
}
apply from: 'download.gradle'
def versionPropsFile = file("version.properties")
def versionProps = new Properties()
versionProps.load(new FileInputStream(versionPropsFile))
ext {
versionMajor = 3
versionMinor = 25
versionPatch = 10
versionMajor = versionProps['VERSION_MAJOR'].toInteger()
versionMinor = versionProps['VERSION_MINOR'].toInteger()
versionPatch = versionProps['VERSION_PATCH'].toInteger()
}
def name = "legado"
+3
View File
@@ -0,0 +1,3 @@
VERSION_MAJOR=3
VERSION_MINOR=25
VERSION_PATCH=10