Slackbot
06/08/2022, 4:02 PMBryan Buschmann
06/08/2022, 4:02 PMversionCatalogs {
create("deps") {
version("compileSdk", "32")
version("minSdk", "23")
version("targetSdk", "32")
plugin("androidLibrary", "com.android.library").version("7.2")
plugin("androidKotlin", "org.jetbrains.kotlin.android").version("1.6.21")
version("vAndroidGradle", "7.2.1")
library("kotlinGradle", "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21")
library("androidGradle", "com.android.tools.build", "gradle").versionRef("vAndroidGradle")
library("androidGradleApi", "com.android.tools.build", "gradle-api").versionRef("vAndroidGradle")
version("androidCore", "1.8.0")
library("coreKtx", "androidx.core", "core-ktx").versionRef("androidCore")
library("appCompat", "androidx.appcompat:appcompat:1.4.1")
library("lifecycleRuntime", "androidx.lifecycle:lifecycle-runtime-ktx:2.4.1")
bundle("androidCore", listOf("coreKtx"))
version("vCompose", "1.2.0-beta03")
library("composeRuntime", "androidx.compose.runtime", "runtime").versionRef("vCompose")
}
}
Bryan Buschmann
06/08/2022, 4:03 PMversion()
and bundle()
aliases, or are they separate? I would expect that the aliased libraries can all have different version values and that a bundle isn't restricted to having only a single version value per bundle.Chris Lee
06/08/2022, 4:14 PMChris Lee
06/08/2022, 4:15 PMChris Lee
06/08/2022, 4:17 PMBryan Buschmann
06/08/2022, 4:29 PMBryan Buschmann
06/08/2022, 4:29 PMChris Lee
06/08/2022, 4:30 PMBryan Buschmann
06/08/2022, 4:30 PM.kts
... except settings.gradle
.Bryan Buschmann
06/08/2022, 4:31 PM