Loading app/build.gradle +12 −1 Original line number Diff line number Diff line Loading @@ -20,10 +20,21 @@ def buildDate = { -> android { compileSdk 34 def localPropsFile = rootProject.file("local.properties") def localProps = new Properties() if (localPropsFile.exists()) { localProps.load(new FileInputStream(localPropsFile)) } def appVersionCode = localProps.getProperty('VERSION_CODE', '403090007').toInteger() + 1 localProps.setProperty('VERSION_CODE', appVersionCode.toString()) localProps.store(new FileOutputStream(localPropsFile), null) defaultConfig { applicationId "foundation.e.accountmanager" versionCode 403090007 versionCode appVersionCode versionName '4.3.9-7' buildConfigField "long", "buildTime", System.currentTimeMillis() + "L" Loading Loading
app/build.gradle +12 −1 Original line number Diff line number Diff line Loading @@ -20,10 +20,21 @@ def buildDate = { -> android { compileSdk 34 def localPropsFile = rootProject.file("local.properties") def localProps = new Properties() if (localPropsFile.exists()) { localProps.load(new FileInputStream(localPropsFile)) } def appVersionCode = localProps.getProperty('VERSION_CODE', '403090007').toInteger() + 1 localProps.setProperty('VERSION_CODE', appVersionCode.toString()) localProps.store(new FileOutputStream(localPropsFile), null) defaultConfig { applicationId "foundation.e.accountmanager" versionCode 403090007 versionCode appVersionCode versionName '4.3.9-7' buildConfigField "long", "buildTime", System.currentTimeMillis() + "L" Loading