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

Kotlin test fixtures aren't hooked up to compile with the main source set #11094

Closed
SUPERCILEX opened this issue Oct 21, 2019 · 2 comments
Closed
Labels

Comments

@SUPERCILEX
Copy link
Contributor

Gradle 5.6.x.

This means I can't access anything marked as internal in main from testFixtures.

@eskatos
Copy link
Member

eskatos commented Oct 21, 2019

The testFixtures Kotlin compilation tasks should be configured to be "friends" of the main compilation tasks for this to work. This is only possible with a public API starting with Kotlin Gradle Plugin 1.3.60 which is currently in EAP. See https://youtrack.jetbrains.com/issue/KT-20760

@big-guy
Copy link
Member

big-guy commented Oct 21, 2019

I'm going to close this since it's an issue in the Kotlin Gradle plugin.

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

No branches or pull requests

3 participants