Upgrade AGP, and some other plugins.

This commit is contained in:
Benoit Marty
2023-02-17 12:28:03 +01:00
parent 2ba44c70fc
commit cec8c4644c
4 changed files with 11 additions and 9 deletions

View File

@@ -120,7 +120,7 @@ android {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.0"
kotlinCompilerExtensionVersion = libs.versions.composecompiler.get()
}
packagingOptions {
resources {

View File

@@ -3,10 +3,10 @@
[versions]
# Project
android_gradle_plugin = "7.3.1"
firebase_gradle_plugin = "3.0.2"
kotlin = "1.8.0"
ksp = "1.8.0-1.0.8"
android_gradle_plugin = "7.4.1"
firebase_gradle_plugin = "3.2.0"
kotlin = "1.8.10"
ksp = "1.8.10-1.0.9"
molecule = "0.7.0"
# AndroidX
@@ -21,6 +21,7 @@ startup = "1.1.1"
# Compose
compose_bom = "2023.01.00"
composecompiler = "1.4.2"
# Coroutines
coroutines = "1.6.4"

View File

@@ -50,7 +50,7 @@ fun CommonExtension<*, *, *, *>.composeConfig() {
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.0"
kotlinCompilerExtensionVersion = "1.4.2" // libs.versions.composecompiler.get()
}
packagingOptions {

View File

@@ -16,9 +16,9 @@
package extension
import gradle.kotlin.dsl.accessors._4b7ad2363fc1fce7c774e054dc9a9300.androidTestImplementation
import gradle.kotlin.dsl.accessors._4b7ad2363fc1fce7c774e054dc9a9300.debugImplementation
import gradle.kotlin.dsl.accessors._4b7ad2363fc1fce7c774e054dc9a9300.implementation
import gradle.kotlin.dsl.accessors._c662f48c4c26c34521d1054f12b949ab.androidTestImplementation
import gradle.kotlin.dsl.accessors._c662f48c4c26c34521d1054f12b949ab.debugImplementation
import gradle.kotlin.dsl.accessors._c662f48c4c26c34521d1054f12b949ab.implementation
import org.gradle.kotlin.dsl.DependencyHandlerScope
import org.gradle.kotlin.dsl.project
@@ -33,6 +33,7 @@ fun DependencyHandlerScope.commonDependencies() {
* Dependencies used by all the modules with composable items
*/
fun DependencyHandlerScope.composeDependencies() {
// TODO Find a way to use androidx_compose_bom
val composeBom = platform("androidx.compose:compose-bom:2023.01.00")
implementation(composeBom)
androidTestImplementation(composeBom)