|
@@ -1,6 +1,6 @@
|
|
|
plugins {
|
|
plugins {
|
|
|
kotlin("multiplatform")
|
|
kotlin("multiplatform")
|
|
|
- kotlin("native.cocoapods")
|
|
|
|
|
|
|
+// kotlin("native.cocoapods")
|
|
|
id("com.android.library")
|
|
id("com.android.library")
|
|
|
id("org.jetbrains.compose")
|
|
id("org.jetbrains.compose")
|
|
|
}
|
|
}
|
|
@@ -10,22 +10,22 @@ kotlin {
|
|
|
|
|
|
|
|
jvm("desktop")
|
|
jvm("desktop")
|
|
|
|
|
|
|
|
- iosX64()
|
|
|
|
|
- iosArm64()
|
|
|
|
|
- iosSimulatorArm64()
|
|
|
|
|
|
|
+// iosX64()
|
|
|
|
|
+// iosArm64()
|
|
|
|
|
+// iosSimulatorArm64()
|
|
|
|
|
|
|
|
- cocoapods {
|
|
|
|
|
- version = "1.0.0"
|
|
|
|
|
- summary = "Some description for the Shared Module"
|
|
|
|
|
- homepage = "Link to the Shared Module homepage"
|
|
|
|
|
- ios.deploymentTarget = "14.1"
|
|
|
|
|
- podfile = project.file("../iosApp/Podfile")
|
|
|
|
|
- framework {
|
|
|
|
|
- baseName = "shared"
|
|
|
|
|
- isStatic = true
|
|
|
|
|
- }
|
|
|
|
|
- extraSpecAttributes["resources"] = "['src/commonMain/resources/**', 'src/iosMain/resources/**']"
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// cocoapods {
|
|
|
|
|
+// version = "1.0.0"
|
|
|
|
|
+// summary = "Some description for the Shared Module"
|
|
|
|
|
+// homepage = "Link to the Shared Module homepage"
|
|
|
|
|
+// ios.deploymentTarget = "14.1"
|
|
|
|
|
+// podfile = project.file("../iosApp/Podfile")
|
|
|
|
|
+// framework {
|
|
|
|
|
+// baseName = "shared"
|
|
|
|
|
+// isStatic = true
|
|
|
|
|
+// }
|
|
|
|
|
+// extraSpecAttributes["resources"] = "['src/commonMain/resources/**', 'src/iosMain/resources/**']"
|
|
|
|
|
+// }
|
|
|
|
|
|
|
|
sourceSets {
|
|
sourceSets {
|
|
|
val commonMain by getting {
|
|
val commonMain by getting {
|
|
@@ -35,6 +35,10 @@ kotlin {
|
|
|
implementation(compose.material)
|
|
implementation(compose.material)
|
|
|
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
|
|
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
|
|
|
implementation(compose.components.resources)
|
|
implementation(compose.components.resources)
|
|
|
|
|
+ implementation(files("libs/shared-desktop.jar"))
|
|
|
|
|
+ implementation(files("libs/shared-release.aar"))
|
|
|
|
|
+ implementation("com.cicoe.note:shared:1.0")
|
|
|
|
|
+ //implementation(files("libs/drawlib-commonMain.jar"))
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
val androidMain by getting {
|
|
val androidMain by getting {
|
|
@@ -42,20 +46,22 @@ kotlin {
|
|
|
api("androidx.activity:activity-compose:1.6.1")
|
|
api("androidx.activity:activity-compose:1.6.1")
|
|
|
api("androidx.appcompat:appcompat:1.6.1")
|
|
api("androidx.appcompat:appcompat:1.6.1")
|
|
|
api("androidx.core:core-ktx:1.9.0")
|
|
api("androidx.core:core-ktx:1.9.0")
|
|
|
|
|
+// implementation(files("libs/shared-release.aar"))
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- val iosX64Main by getting
|
|
|
|
|
- val iosArm64Main by getting
|
|
|
|
|
- val iosSimulatorArm64Main by getting
|
|
|
|
|
- val iosMain by creating {
|
|
|
|
|
- dependsOn(commonMain)
|
|
|
|
|
- iosX64Main.dependsOn(this)
|
|
|
|
|
- iosArm64Main.dependsOn(this)
|
|
|
|
|
- iosSimulatorArm64Main.dependsOn(this)
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// val iosX64Main by getting
|
|
|
|
|
+// val iosArm64Main by getting
|
|
|
|
|
+// val iosSimulatorArm64Main by getting
|
|
|
|
|
+// val iosMain by creating {
|
|
|
|
|
+// dependsOn(commonMain)
|
|
|
|
|
+// iosX64Main.dependsOn(this)
|
|
|
|
|
+// iosArm64Main.dependsOn(this)
|
|
|
|
|
+// iosSimulatorArm64Main.dependsOn(this)
|
|
|
|
|
+// }
|
|
|
val desktopMain by getting {
|
|
val desktopMain by getting {
|
|
|
dependencies {
|
|
dependencies {
|
|
|
implementation(compose.desktop.common)
|
|
implementation(compose.desktop.common)
|
|
|
|
|
+// implementation(files("libs/shared-desktop.jar"))
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|