chore: update Compose to 1.3.2

master
andrekir 2023-02-08 09:39:47 -03:00
rodzic f3356db1c9
commit 61489b4956
4 zmienionych plików z 19 dodań i 13 usunięć

Wyświetl plik

@ -84,7 +84,7 @@ android {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion compose_version
kotlinCompilerExtensionVersion = "1.3.2"
}
// Set both the Java and Kotlin compilers to target Java 8.
compileOptions {
@ -152,14 +152,21 @@ dependencies {
implementation "androidx.datastore:datastore:$datastore_version"
// Compose
implementation "androidx.compose.runtime:runtime:$compose_version"
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.foundation:foundation:$compose_version"
implementation "androidx.compose.foundation:foundation-layout:$compose_version"
implementation "androidx.compose.material:material:$compose_version"
implementation "androidx.compose.runtime:runtime-livedata:$compose_version"
implementation "androidx.compose.ui:ui-tooling:$compose_version"
implementation "com.google.android.material:compose-theme-adapter:1.1.14"
def composeBom = platform('androidx.compose:compose-bom:2022.12.00')
implementation composeBom
androidTestImplementation composeBom
implementation 'androidx.compose.material:material'
implementation 'androidx.compose.runtime:runtime-livedata'
implementation "com.google.accompanist:accompanist-themeadapter-material:0.28.0"
// Android Studio Preview support
implementation 'androidx.compose.ui:ui-tooling-preview'
debugImplementation 'androidx.compose.ui:ui-tooling'
// UI Tests
androidTestImplementation 'androidx.compose.ui:ui-test-junit4'
debugImplementation 'androidx.compose.ui:ui-test-manifest'
// Osmdroid & Maps
def osmdroid_version = '6.1.14'

Wyświetl plik

@ -9,7 +9,7 @@ import androidx.fragment.app.activityViewModels
import com.geeksville.mesh.android.Logging
import com.geeksville.mesh.databinding.ComposeViewBinding
import com.geeksville.mesh.model.UIViewModel
import com.google.android.material.composethemeadapter.MdcTheme
import com.google.accompanist.themeadapter.material.MdcTheme
import dagger.hilt.android.AndroidEntryPoint
@AndroidEntryPoint

Wyświetl plik

@ -9,7 +9,7 @@ import androidx.fragment.app.activityViewModels
import com.geeksville.mesh.android.Logging
import com.geeksville.mesh.databinding.ComposeViewBinding
import com.geeksville.mesh.model.UIViewModel
import com.google.android.material.composethemeadapter.MdcTheme
import com.google.accompanist.themeadapter.material.MdcTheme
import dagger.hilt.android.AndroidEntryPoint
@AndroidEntryPoint

Wyświetl plik

@ -3,13 +3,12 @@
buildscript {
ext {
useCrashlytics = false
kotlin_version = '1.6.21'
kotlin_version = '1.7.20'
coroutines_version = '1.6.4'
lifecycle_version = "2.5.1"
room_version = '2.4.3'
hilt_version = '2.44.2'
datastore_version = '1.0.0'
compose_version = '1.2.0-rc02'
protobuf_version = '3.21.12'
}