zmunm / fastlane-plugin-android-versioning-kts Goto Github PK
View Code? Open in Web Editor NEWfastlane plugin android versioning for gradle kotlin DSL
License: MIT License
fastlane plugin android versioning for gradle kotlin DSL
License: MIT License
Hey,
we observed an issue when using this plugin to get version name (get_version_name(app_project_dir: 'app')
) and version code (get_version_code(app_project_dir: 'app')
).
Below is the regarding snippet from the build.gradle.kts
in the app module
defaultConfig {
minSdk = ConfigData.minSdkVersion
targetSdk = ConfigData.targetSdkVersion
versionCode = ConfigData.versionCode
versionName = ConfigData.versionName
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
.
.
.
So, we use an object ConfigData
that lies in the buildSrc
directory in the root dir, which holds our most basic versions, like compile SDK, minSD, versionCode, versionName, etc. (like described in dependency mgmt using buildSrc and Kotlin dsl)
object ConfigData {
const val compileSdkVersion = 31
const val buildToolsVersion = "31.0.0"
const val minSdkVersion = 24
const val targetSdkVersion = 31
const val versionCode = 21400080
const val versionName = "22.19.1"
}
But now if we run fastlane
versionName = get_version_name(app_project_dir: 'app')
we got
ConfigData.versionName
expected is of course 22.19.1
Any help would be greatly appreciated!
Thanks in advance!
Best regards,
Vall0n
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.