-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid processing *.aar dependencies which can not be parsed and cause…
… gradle failures (#172) With the Android gradle plugin 'com.android.tools.build:gradle:7.1.0' the dependency resolution changed and therefore different dependency types like '.aar' appear within the list of resolved artifacts/dependencies. These types have to be excluded before parsing a dependency to avoid failures. Currently .aar dependencies will cause following error: ``` > Task :app:licenseReleaseReport circularimageview dependency does not have a license. [Fatal Error] vectordrawable-animated-1.1.0.aar:1:1: Content is not allowed in prolog. > Task :app:licenseReleaseReport FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:licenseReleaseReport'. > org.xml.sax.SAXParseException; systemId: file:///home/user/caches/modules-2/files-2.1/androidx.vectordrawable/vectordrawable-animated/1.1.0/fcda1161354501471c30a4e077af6b5c4d4eddc6/vectordrawable-animated-1.1.0.aar; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 21s 11 actionable tasks: 5 executed, 6 up-to-date ```
- Loading branch information
flobetz
authored
Apr 8, 2022
1 parent
19feac1
commit a0b5036
Showing
2 changed files
with
205 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters