Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plugins {
- id 'org.jetbrains.kotlin.multiplatform' version '1.3.61'
- id "org.jetbrains.kotlin.plugin.serialization" version "1.3.61"
- id 'maven-publish'
- }
- repositories {
- mavenCentral()
- jcenter()
- }
- group 'com.example'
- version '0.0.2'
- kotlin {
- iosArm64()
- iosArm32()
- androidNativeArm64 { // Use your target instead.
- binaries {
- sharedLib {
- baseName = "AndroidNative"
- }
- }
- }
- androidNativeArm32 {
- binaries {
- sharedLib {
- baseName = "AndroidNative"
- }
- }
- }
- sourceSets {
- androidNativeArm64Main {
- dependencies {
- implementation kotlin('stdlib')
- implementation "org.jetbrains.kotlinx:kotlinx-serialization-runtime-native:0.14.0"
- }
- }
- androidNativeArm32Main {
- dependencies {
- implementation kotlin('stdlib')
- implementation "org.jetbrains.kotlinx:kotlinx-serialization-runtime-native:0.14.0"
- }
- }
- iosArm32Main {
- dependencies {
- implementation kotlin('stdlib')
- }
- }
- iosArm64Main {
- dependencies {
- implementation kotlin('stdlib')
- }
- }
- commonMain {
- dependencies {
- implementation kotlin('stdlib-common')
- implementation "org.jetbrains.kotlinx:kotlinx-serialization-runtime-common:0.14.0"
- }
- }
- commonTest {
- dependencies {
- implementation kotlin('test-common')
- implementation kotlin('test-annotations-common')
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement