Relative Content

Tag Archive for androidandroid-gradle-pluginbuild.gradle

Gradle plugin 8.3.2: Adding build configs

I am on android gradle plugin version 8.3.2. I am trying to configure different constants for my release and dev builds. I am not using productFlavors because this doesn’t change the behavriour of the app. Below is my build types section

What’s the advantage of using the new Gradle Versions Catalog system vs. declaring all version values in the *application*-level gradle build file?

For configuring Android apps builds, I’m looking at the new Gradle Versions Catalog system and trying to figure out why I would need to use it rather than simply declaring all version values in the single application-level gradle build file instead – where it can be seen by all modules?
(It seems to involve may more work to set up than using the app-level build file.)