We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
def configureBuildKonfigFlavorFromLocalProperties() { if (project.gradle.startParameter.projectProperties.containsKey("buildkonfig.flavor")) { // prefer cli parameter return } if (Files.exists(Paths.get("$project.rootDir/local.properties"))) { def key = "buildkonfig.flavor" // load buildkonfig.flavor if exists def localProperties = new Properties() localProperties.load(new FileInputStream("$project.rootDir/local.properties")) if (localProperties.containsKey(key)) { project.setProperty(key, localProperties.getProperty(key)) } } }
personally I wrote this script and use it in my project. But it would be nice if this is baked into BuildKonfig
The text was updated successfully, but these errors were encountered:
@jfrey-irhythm Take a look at #128
Sorry, something went wrong.
No branches or pull requests
personally I wrote this script and use it in my project. But it would be nice if this is baked into BuildKonfig
The text was updated successfully, but these errors were encountered: