You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.8 KiB
65 lines
1.8 KiB
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
|
|
plugins {
|
|
alias(libs.plugins.kotlinMultiplatform)
|
|
alias(libs.plugins.kotlinCocoapods)
|
|
alias(libs.plugins.androidLibrary)
|
|
alias(libs.plugins.compose.compiler)
|
|
alias(libs.plugins.composeMultiplatform)
|
|
}
|
|
|
|
kotlin {
|
|
androidTarget {
|
|
compilations.all {
|
|
compileTaskProvider.configure {
|
|
compilerOptions {
|
|
jvmTarget.set(JvmTarget.JVM_1_8)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
iosArm64()
|
|
cocoapods {
|
|
summary = "Some description for the Shared Module"
|
|
homepage = "Link to the Shared Module homepage"
|
|
version = "1.0"
|
|
ios.deploymentTarget = "16.0"
|
|
podfile = project.file("../iosApp/Podfile")
|
|
framework {
|
|
baseName = "shared"
|
|
isStatic = true
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
commonMain.dependencies {
|
|
implementation("io.github.aakira:napier:2.7.1")
|
|
implementation(compose.runtime)
|
|
implementation(compose.foundation)
|
|
implementation(compose.material3)
|
|
implementation(compose.ui)
|
|
implementation(compose.components.resources)
|
|
implementation(compose.components.uiToolingPreview)
|
|
implementation(libs.androidx.lifecycle.viewmodel)
|
|
implementation(libs.androidx.lifecycle.runtimeCompose)
|
|
implementation(libs.lifecycle.viewmodel.compose)
|
|
implementation(libs.vico.multiplatform)
|
|
}
|
|
commonTest.dependencies {
|
|
|
|
implementation(libs.kotlin.test)
|
|
}
|
|
}
|
|
}
|
|
|
|
android {
|
|
namespace = "com.whitefish.ring"
|
|
compileSdk = 35
|
|
defaultConfig {
|
|
minSdk = 29
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
}
|