Vivek Modi
05/18/2022, 1:08 PMid("com.android.application")
and id("com.android.library")
in plugin ? I got this developer doc. I am new in learning gradle stuff. ThanksRobert Williams
05/18/2022, 1:24 PMapplication
will build APK/ AAB and library
will build AARRobert Williams
05/18/2022, 1:24 PMRobert Williams
05/18/2022, 1:25 PMVivek Modi
05/18/2022, 1:26 PMVivek Modi
05/18/2022, 1:27 PMbuild.gradle.kts
plugins {
kotlin("multiplatform") version "1.6.21"
id("com.android.application")
}
group = "com.abc"
version = "0.0.1"
repositories {
google()
mavenCentral()
}
android {
compileSdk = 21
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
defaultConfig {
applicationId = "com.letsgetcheked.kotlinmultiplatform"
minSdk = 21
targetSdk = 31
}
@Suppress("UnstableApiUsage")
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}
Robert Williams
05/18/2022, 1:28 PMVivek Modi
05/18/2022, 1:29 PMaar
I need to add library
in my pluginVivek Modi
05/18/2022, 1:29 PMRobert Williams
05/18/2022, 1:29 PMVivek Modi
05/18/2022, 1:29 PMVivek Modi
05/18/2022, 1:29 PMRobert Williams
05/18/2022, 1:29 PMVivek Modi
05/18/2022, 1:30 PMRobert Williams
05/18/2022, 1:30 PMVivek Modi
05/18/2022, 1:30 PM