-
-
Notifications
You must be signed in to change notification settings - Fork 528
Description
About this issue
- Briefly describe the issue
I currently use a command like this to generate my aboutlicense.json file
./gradlew app:exportLibraryDefinitions -PaboutLibraries.exportPath=src/main/assets/ -PaboutLibraries.exportVariant=dimensionRelease
Where dimension is different components of my build variant. Different variants will possibly have different included libraries e.g. a "pro" version of my app might include an extra library.
When building the different versions of my app, free/pro etc, I'd like the output json file placed in the correct src/free/assets or src/pro/assets folders.
It'd be great if exportPath could use the configuration of exportVariant to know where to place the file, perhaps making the path relative to dimension. e.g. -PaboutLibraries.exportPath=/assets/ PaboutLibraries.exportVariant=proRelease would place the file in src/pro/assets
Details
- Used library version - 10.5.1
- Used support library version
- Used gradle build tools version - 7.3.3
- Used tooling / Android Studio version - Android Studio Flamingo, Canary 8
- Other used libraries, potential conflicting libraries - Jetpack Compose 1.3
Checklist
- Searched for similar issues
- Checked out the sample application
- Read the README
- Checked out the CHANGELOG
- Read the MIGRATION GUIDE