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

lsk

09/16/2019, 4:48 PM
I have a project for windows and linux. Both has cinterop mapping. I am trying to reduce code by having some kind of "native-common". Is it possible somehow? See my build gradle here https://github.com/skoky/mylaps-x2-kotlin/blob/master/build.gradle
s

svyatoslav.scherbina

09/18/2019, 9:29 AM
Gradle build script is a script. For example, you can use loops to configure multiple entities similarly. See also
configure(...)
examples in the documentation: https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html