mikepenz / AboutLibraries

AboutLibraries automatically collects all dependencies and licenses of any gradle project (Kotlin MultiPlatform), and provides easy to integrate UI components for Android and Compose-jb environments
http://mikepenz.github.io/AboutLibraries/
Apache License 2.0
3.62k stars 419 forks source link

KMP export path not working #916

Closed MitjaHenner closed 11 months ago

MitjaHenner commented 12 months ago

About this issue

I'm using compose multiplatform and moko resources, I want to export the aboutLibraries.json to the moko folder, but when I run: ./gradlew common:exportLibraryDefinitions -PaboutLibraries.exportPath=src/commonMain/resources/MR/files/ I get: Task '.exportPath=src/commonMain/resources/MR/files/' not found in root project 'Project' and its subprojects.

Details

mikepenz commented 11 months ago

@MitjaHenner this looks to be some form of problem with the way the exportPath is passed.

Can you please provide more details of your environment? Can you reproduce this with this project itself using:

./gradlew app-desktop:exportLibraryDefinitions -PaboutLibraries.exportPath=src/main/resources/

Tested it locally and it does not seem to have problems with it.

mikepenz commented 11 months ago

Please report back. Closing due to in-activity