How can I access `~/<username>/.gradle/gradl...
# gradle
j
How can I access
~/<username>/.gradle/gradle.properties
file from kotlin code (not
kts
) in an android project?
m
If you want to access the Gradle properties inside the Android app, you will have to include that information in the App code somehow. One way to do this is to use buildConfigFields: https://developer.android.com/studio/build/gradle-tips#share-custom-fields-and-resource-values-with-your-app-code
j
Well that looks promising. I’ll give it a try. Thanks @mbonnin cheers
🍻 1