https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
s

sikri

01/14/2020, 9:51 AM
Is it possible to build Kotlin/MPP projects without Gradle? Are there any compilers, shell scripts, etc, that allow to build a project without Gradle plugin? Is there anything, like, let me call it, Core Kotlin, that is used only as
common
code? Being able to use keywords `expect`/`actual` only in pairing (Core Kotlin - target platform), are those words considered as part of some Core Kotlin, or as a part of that gradle mpp plugin, as there would be no sense to use it without that plugin?
b

Big Chungus

01/14/2020, 12:32 PM
I think i saw a guide on kotlin MPP intro page for maven setup now.
Also
expect/actual
are language constructs. You can
expect
in platform-specific sourceSet too!
k

Kris Wong

01/14/2020, 1:58 PM
sure it's possible. Gradle is just a build system that calls out to external tools to do the build.
MPP is supported through the gradle plugin
s

sikri

01/14/2020, 1:59 PM
but are there any tools to do that without gradle or maven plugin?
k

Kris Wong

01/14/2020, 1:59 PM
but all the tools could be invoked manually if you have a desire to do things the hard way
3 Views