Waqas Tahir
10/16/2021, 8:02 AMsuppressKotlinVersionCompatibilityCheck
but don't say I didn't warn you!).
FAILURE: Build failed with an exception.
with this build.gradle file
plugins {
kotlin("multiplatform")
id("org.jetbrains.compose") version "1.0.0-alpha3"
id("com.android.library")
id("kotlin-android-extensions")
// id("com.vanniktech.maven.publish")
id("maven-publish")
}
group = BuildConfig.Info.group
version = BuildConfig.Info.version
android {
compileSdkVersion(BuildConfig.Android.compileSdkVersion)
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
defaultConfig {
minSdkVersion(BuildConfig.Android.minSdkVersion)
targetSdkVersion(BuildConfig.Android.targetSdkVersion)
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}
kotlin {
android {
publishLibraryVariants("release", "debug")
}
jvm("desktop") {
compilations.all {
kotlinOptions.jvmTarget = "11"
}
}
sourceSets {
val commonMain by getting {
dependencies {
api(compose.runtime)
api(compose.foundation)
api(compose.material)
implementation(project(":core"))
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
}
}
val androidMain by getting
val androidTest by getting {
dependencies {
implementation("junit:junit:4.13.2")
}
}
val desktopMain by getting {
dependencies {
api(compose.preview)
}
}
val desktopTest by getting
}
}
Slack ConversationJohn O'Reilly
10/16/2021, 9:44 AMJohn O'Reilly
10/16/2021, 9:52 AM1.0.4
or 1.1.0-alpha06
Waqas Tahir
10/16/2021, 9:57 AMWaqas Tahir
10/16/2021, 9:57 AMJohn O'Reilly
10/16/2021, 9:57 AMWaqas Tahir
10/16/2021, 9:57 AMWaqas Tahir
10/16/2021, 9:58 AMJohn O'Reilly
10/16/2021, 9:59 AMWaqas Tahir
10/16/2021, 10:00 AMJohn O'Reilly
10/16/2021, 10:00 AM1.0.0-alpha4-build398
Waqas Tahir
10/16/2021, 10:10 AMWaqas Tahir
10/16/2021, 10:11 AMJohn O'Reilly
10/16/2021, 10:13 AMJohn O'Reilly
10/16/2021, 10:13 AMWaqas Tahir
10/16/2021, 10:15 AMWaqas Tahir
10/16/2021, 10:15 AMJohn O'Reilly
10/16/2021, 10:16 AMOliver.O
10/16/2021, 4:53 PMplugin.org.jetbrains.compose=1.0.0-alpha4-build362
version.kotlin=1.5.31