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 Multiplatform Gradle project layout support #44

Open
axelfontaine opened this issue Nov 24, 2020 · 0 comments
Open

Kotlin Multiplatform Gradle project layout support #44

axelfontaine opened this issue Nov 24, 2020 · 0 comments

Comments

@axelfontaine
Copy link

When using the Kotlin Multiplatform Gradle plugin, the directory layout is slightly different. I had to use the following config to make things work:

val config = AnalyzerConfig.gradle(Language.KOTLIN).main()
        .withSources(File("src/jvmMain/kotlin"))
        .withClasses(File("build/classes/kotlin/jvm/main"))

This could probably be added as a preset, in addition to the one from the regular Kotlin/JVM plugin.

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