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.
39 lines
872 B
39 lines
872 B
plugins { |
|
kotlin("multiplatform") |
|
id("com.android.library") |
|
id("org.jetbrains.compose") |
|
} |
|
|
|
kotlin { |
|
androidTarget { |
|
compilations.all { |
|
kotlinOptions { |
|
jvmTarget = "11" |
|
} |
|
} |
|
} |
|
jvm("desktop") |
|
|
|
sourceSets { |
|
commonMain { |
|
dependencies { |
|
implementation(compose.runtime) |
|
implementation(compose.material) |
|
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class) |
|
implementation(compose.components.resources) |
|
} |
|
} |
|
} |
|
} |
|
|
|
android { |
|
compileSdk = 31 |
|
namespace = "org.jetbrains.compose.resources.test" |
|
defaultConfig { |
|
minSdk = 21 |
|
} |
|
compileOptions { |
|
sourceCompatibility = JavaVersion.VERSION_11 |
|
targetCompatibility = JavaVersion.VERSION_11 |
|
} |
|
}
|
|
|