kotlin-multiplatform-multi-module-setup | Sample Project containing multi Kotlin Multiplatform | Plugin library
kandi X-RAY | kotlin-multiplatform-multi-module-setup Summary
kandi X-RAY | kotlin-multiplatform-multi-module-setup Summary
This is a reference project for setting up and linking multiplatform modules.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kotlin-multiplatform-multi-module-setup
kotlin-multiplatform-multi-module-setup Key Features
kotlin-multiplatform-multi-module-setup Examples and Code Snippets
Community Discussions
Trending Discussions on kotlin-multiplatform-multi-module-setup
QUESTION
I have the following structure and i want to include integration-jvm-1
as a dependency inside module-mp-1
and inside application-jvm-1
, i want to include module-mp-1
's JVM output as dependency.
See the sample project on Github: https://github.com/JVAAS/kotlin-multiplatform-multi-module-setup
Here's the overview of what i've done so far:
...ANSWER
Answered 2020-Jun-30 at 23:10Building Multiplatform Projects with Gradle is the best resource on this topic. Specifically in Adding Dependencies it says:
a
project('...')
dependency on another multiplatform project is resolved to an appropriate target automatically. It is enough to specify a singleproject('...')
dependency in a source set's dependencies, and the compilations that include the source set will receive a corresponding platform-specific artifact of that project, given that it has a compatible target.
The article also contains examples on how to configure project dependencies.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kotlin-multiplatform-multi-module-setup
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page