Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple reports in the same build script #278

Open
realh opened this issue Nov 23, 2023 · 0 comments
Open

Multiple reports in the same build script #278

realh opened this issue Nov 23, 2023 · 0 comments

Comments

@realh
Copy link

realh commented Nov 23, 2023

This is more of a question than a bug report. I want to use this in a Kotlin Multiplatform Mobile project. I want to generate two reports, one for the shared module and one for Android. The Android app can contain data based on merging the two reports, while the iOS app should ignore the Android report and instead merge the shared one with data derived from the iOS app's Swift Package dependencies.

One possibility is to generate the shared report in the shared module, and the Android report in the android module. But I have other tasks to further process the reports, so it would be easier if I could run everything in the shared module instead of splitting it across both modules. Is that possible? I can't see a way to generate more than one report in the licenseReport block. Can I call licenseReport twice in the same build.gradle.kts script, or would one invocation just overwrite the other one? If it does work, does it run both configurations in the same gradle task?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant