Kotlin 1.8 + cleanup
This commit is contained in:
parent
57ec77bc1d
commit
4c832c88f7
7 changed files with 12 additions and 24 deletions
|
|
@ -15,12 +15,8 @@
|
|||
*/
|
||||
|
||||
import org.gradle.api.JavaVersion
|
||||
import org.gradle.api.artifacts.VersionCatalog
|
||||
import org.gradle.jvm.toolchain.JavaLanguageVersion
|
||||
|
||||
val VersionCatalog.composeVersion: String
|
||||
get() = findVersion("compose_compiler").get().requiredVersion
|
||||
|
||||
object Versions {
|
||||
const val versionCode = 100100
|
||||
const val versionName = "0.1.0"
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ fun CommonExtension<*, *, *, *>.composeConfig() {
|
|||
}
|
||||
|
||||
composeOptions {
|
||||
kotlinCompilerExtensionVersion = "1.3.2"
|
||||
kotlinCompilerExtensionVersion = "1.4.0"
|
||||
}
|
||||
|
||||
packagingOptions {
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ fun DependencyHandlerScope.commonDependencies() {
|
|||
* Dependencies used by all the modules with composable items
|
||||
*/
|
||||
fun DependencyHandlerScope.composeDependencies() {
|
||||
val composeBom = platform("androidx.compose:compose-bom:2022.11.00")
|
||||
val composeBom = platform("androidx.compose:compose-bom:2023.01.00")
|
||||
implementation(composeBom)
|
||||
androidTestImplementation(composeBom)
|
||||
implementation("androidx.compose.ui:ui")
|
||||
|
|
@ -42,7 +42,6 @@ fun DependencyHandlerScope.composeDependencies() {
|
|||
implementation("androidx.compose.ui:ui-tooling-preview")
|
||||
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.5.1")
|
||||
implementation("androidx.activity:activity-compose:1.6.1")
|
||||
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.5.1")
|
||||
debugImplementation("androidx.compose.ui:ui-tooling")
|
||||
debugImplementation("androidx.compose.ui:ui-test-manifest")
|
||||
implementation("com.airbnb.android:showkase:1.0.0-beta14")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue