mayokunadeniyi / Instant-Weather

An Android weather application implemented using the MVVM pattern, Retrofit2, Dagger Hilt, LiveData, ViewModel, Coroutines, Room, Navigation Components, Data Binding and some other libraries from the Android Jetpack.
MIT License
767 stars 165 forks source link

chore - update dependency for m1 chip #51

Closed Kenny50 closed 1 year ago

Kenny50 commented 1 year ago

demand

  1. m1 chip require room version higher than 2.4.0-alpha03

modify

  1. buildSrc/build.gradle.kts
    • import org.gradle.kotlin.dsl.kotlin-dsl
  2. buildSrc/src/main/kotlin/Dependencies.kt
    • upgrade targetsdk, compile sdk due to room require them greater or equal 31
    • upgrade kotlin, fragment, coreEtxTest, room version due to sdk version change
  3. app/src/main/AndroidManifest.xml
    • add export=true|false for activity, it is necessary for sdk greater than 30

Ref: #50