Skip to content

Improving CliOption implementation #92

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

Closed
ForteScarlet opened this issue Apr 10, 2025 · 1 comment · Fixed by #93
Closed

Improving CliOption implementation #92

ForteScarlet opened this issue Apr 10, 2025 · 1 comment · Fixed by #93
Assignees

Comments

@ForteScarlet
Copy link
Owner

Previously, CliOption was coupled with the Kotlin plugin module, which led to the Gradle Plugin also referencing the Kotlin plugin module, and thus the Kotlin Compiler's dependencies, when it wanted to reuse the content.

Before #65 was changed, this issue was not exposed. However, after it was changed, this issue led to #90.

So: consider a standalone CliOption that can be reused but doesn't lead to propagation of Kotlin compiler dependencies.

@ForteScarlet
Copy link
Owner Author

After #93 the configuration module and cli module are independent, theoretically... more flexible KSP support is also achievable. Configuration information can be shared, and behavior can be more consistent. Maybe we can consider #29, generating top-level functions?

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