Created
April 24, 2020 20:41
-
-
Save jraska/3882d5366d209097fead03c189bcf03f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun moduleDependencies(project: Project): List<Project> { | |
return project.configurations | |
.filter { it.name == "api" || it.name == "implementation" } | |
.flatMap { configuration -> | |
configuration.dependencies.filterIsInstance(DefaultProjectDependency::class.java) | |
.map { it.dependencyProject } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Dmitry, I didn't try, but I believe it should. Kotlin multiplatform module should be the same as any other module?