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

Using plugin:org.jetbrains.kotlin.jvm.abi:treatInternalAsPrivate=true breaks Associates #1250

Open
rbeazleyspot opened this issue Dec 23, 2024 · 0 comments

Comments

@rbeazleyspot
Copy link

An associates target[JavaInfo].compile_jars are used as the values for the kotlinc --kotlin_friend_paths argument. This works today because previous to the generation of ABI jars this would have just been the direct outputs of the associated target. When ABI jars are enabled the generated JARS replace the compile_jars property, however these JARS still contain internal declarations.

However this association mechanism breaks when -P plugin:org.jetbrains.kotlin.jvm.abi:treatInternalAsPrivate=true and -P plugin:org.jetbrains.kotlin.jvm.abi:removePrivateClasses=true are used as internal declarations are now excluded from the ABI jar.

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