dependency-analysis-gradle-plugin
dependency-analysis-gradle-plugin copied to clipboard
Added allowed/ignored variants support
Fixes - https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/issues/519
Please see failures at https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/runs/5634738312?check_suite_focus=true
./gradlew check is failing locally for the main branch too, I don't have experience in gradle testing, can you help please?
./gradlew check is failing locally for the main branch too, I don't have experience in gradle testing, can you help please?
Do you have a build scan from your failure?
Do you have a build scan from your failure?
Here - https://gradle.com/s/ddfw4lg5mq2ni
Ugh, that build scan is broken. Could you provide more information on what is failing for you?
check_gradle.txt @autonomousapps check this out, ./gradlew check --info
In one of the earlier failures, I see this message:
AndroidTestDependenciesSpec > buildHealth succeeds when a unit test variant is disabled (#gradleVersion AGP #agpVersion) > com.autonomousapps.android.AndroidTestDependenciesSpec.buildHealth succeeds when a unit test variant is disabled (Gradle 7.2 AGP 4.2.2) STANDARD_OUT
FAILURE:
Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':proj'.
>
Allowed and ignored variants must be different. Issue found in variant(s): []
I believe the final line there comes from your changes. Does that help?
@tronku I'd love this feature on a project I'm working on - would you like any help?
@autonomousapps Is it ok with you if I take over this PR? I'd love to integrate this plugin's tasks in one of my projects but we have way too many flavors for it to be reasonable on CI for my team members
@mformetal I need help with creating tests here, tried that but didn't work, can you help with that?