Gradle plugin for JVM projects written in Java, Kotlin, Groovy, or Scala; and Android projects written in Java or Kotlin. Provides advice for managing dependencies and other applied plugins
Apache License 2.0
1.67k
stars
115
forks
source link
How can I ignore specific flavor & build type? #1213
Is your feature request related to a problem? Please describe.
My project has 2 flavors (dev & google) and 3 build types (debug, release, releasedebuggable).
But I only want to run dependency analysis task for devDebug or googleDebug.
Describe the solution you'd like
I want to add the variant configuration of that flavor & build type to gradle.properties.
Describe alternatives you've considered
Additional context
I notice we can ignore a specific build type (dependency.analysis.android.ignored.variants=release) but it's not enough for me.
Is your feature request related to a problem? Please describe.
My project has 2 flavors (dev & google) and 3 build types (debug, release, releasedebuggable). But I only want to run dependency analysis task for
devDebug
orgoogleDebug
.Describe the solution you'd like
I want to add the variant configuration of that flavor & build type to
gradle.properties
.Describe alternatives you've considered
Additional context
I notice we can ignore a specific build type (
dependency.analysis.android.ignored.variants=release
) but it's not enough for me.