Kotlin / kotlin-frontend-plugin

Gradle Kotlin (http://kotlinlang.org) plugin for frontend development
Apache License 2.0
563 stars 69 forks source link

UnpackGradleDependenciesTask ignores local MPP dependencies #133

Open pegasign opened 5 years ago

pegasign commented 5 years ago

Hey guys,

I'm working on a project making use of Kotlin Frontend and a Kotlin Multiplatform Library.

Both the Frontend package and MPP are divided into seperate gradle module. Each with their own build directory.

The frontend module has a dependency on the MPP package using the following configuration:

depedencies {
    implementation project(":[insert MPP name])
}

It appears there is a bug in UnpackGradleDependenciesTask.kt#L68 where the UnpackGradleDependenciesTask ignores project based dependencies.

https://github.com/Kotlin/kotlin-frontend-plugin/blob/16314e8116a7c169fd9a894db4904b1356df3412/kotlin-frontend/src/main/kotlin/org/jetbrains/kotlin/gradle/frontend/npm/UnpackGradleDependenciesTask.kt#L68

zacharygrafton commented 5 years ago

I'm seeing this issue as well. Would a repro be needed? And should this be marked as related to #69? The fix appears to be similar.