Rahul Rawat
01/15/2022, 1:19 PMBig Chungus
01/15/2022, 1:36 PMRahul Rawat
01/15/2022, 1:39 PMSupplied String module notation 'libs/AddressLibrary-android-1.0-SNAPSHOT.aar' is invalid.
Big Chungus
01/15/2022, 1:40 PMRahul Rawat
01/15/2022, 1:40 PMapi('libs/AddressLibrary-android-1.0-SNAPSHOT.aar') {
transitive = true
}
Big Chungus
01/15/2022, 1:41 PMRahul Rawat
01/15/2022, 1:41 PMBig Chungus
01/15/2022, 1:41 PMRahul Rawat
01/15/2022, 1:42 PMBig Chungus
01/15/2022, 1:42 PMBig Chungus
01/15/2022, 1:42 PMRahul Rawat
01/15/2022, 1:44 PMBig Chungus
01/15/2022, 1:45 PMBig Chungus
01/15/2022, 1:47 PMBig Chungus
01/15/2022, 1:48 PMRahul Rawat
01/15/2022, 1:51 PMapi("me.rahulrawat:AddressLibrary:1.0-SNAPSHOT") {
transitive = true
}
Now the library is linked but I still have to redeclare all the dependencies declared inside the library. That is still the pain for me 😅Big Chungus
01/15/2022, 1:52 PMRahul Rawat
01/15/2022, 1:54 PMval commonMain by getting {
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"){
version {
strictly(coroutinesVersion)
}
}
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:$serializationVersion")
implementation("io.ktor:ktor-client-core:$ktorVersion")
implementation("io.ktor:ktor-client-serialization:$ktorVersion")
implementation("io.ktor:ktor-client-logging:$ktorVersion")
implementation("com.squareup.sqldelight:runtime:$sqlDelightVersion")
implementation("com.squareup.sqldelight:coroutines-extensions:$sqlDelightVersion")
implementation("org.kodein.di:kodein-di:$kodeinVersion")
}
}
I have to declare all the implementation to api with transitive true so I don’t have to reinclude them inside android app?Big Chungus
01/15/2022, 1:58 PMBig Chungus
01/15/2022, 1:58 PMBig Chungus
01/15/2022, 1:59 PMRahul Rawat
01/15/2022, 2:28 PMBig Chungus
01/15/2022, 2:30 PM