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

Can't bind GUI designer form to a Kotlin class. #73

Closed
matklad opened this issue Feb 3, 2016 · 0 comments
Closed

Can't bind GUI designer form to a Kotlin class. #73

matklad opened this issue Feb 3, 2016 · 0 comments
Assignees
Milestone

Comments

@matklad
Copy link
Contributor

matklad commented Feb 3, 2016

Hi!

IntelliJInstrumentCodeAction uses only java srcDirs: https://github.com/JetBrains/gradle-intellij-plugin/blob/master/src/main/groovy/org/jetbrains/intellij/IntelliJInstrumentCodeAction.groovy#L30

Because of this it's impossible to bind a GUI designer form to a Kotlin class: the class is in kotlin.srcDirs and not in java.srcDirs.

I can work around this by using

sourceSets {
    main.java.srcDirs += "src/main/kotlin"
}
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

2 participants