Update dependencies / gradle etc.
This commit is contained in:
parent
b907e934c9
commit
ca41948a75
5 changed files with 73 additions and 57 deletions
|
|
@ -24,7 +24,7 @@ android {
|
|||
defaultConfig {
|
||||
applicationId "com.pixelized.biblib"
|
||||
minSdk 26
|
||||
targetSdk 33
|
||||
targetSdk 34
|
||||
versionCode generateVersionCode()
|
||||
versionName "0.1.6"
|
||||
|
||||
|
|
@ -59,20 +59,21 @@ android {
|
|||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = '1.8'
|
||||
jvmTarget = "17"
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
compose true
|
||||
buildConfig = true
|
||||
}
|
||||
|
||||
composeOptions {
|
||||
kotlinCompilerExtensionVersion '1.4.4'
|
||||
kotlinCompilerExtensionVersion = "1.5.11"
|
||||
}
|
||||
|
||||
packagingOptions {
|
||||
|
|
@ -89,42 +90,42 @@ android {
|
|||
|
||||
dependencies {
|
||||
// Android core
|
||||
implementation 'androidx.core:core-ktx:1.9.0'
|
||||
implementation 'androidx.appcompat:appcompat:1.7.0-alpha02'
|
||||
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
|
||||
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.6.1"
|
||||
implementation 'androidx.core:core-ktx:1.13.1'
|
||||
implementation 'androidx.appcompat:appcompat:1.7.0'
|
||||
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.2'
|
||||
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.8.2"
|
||||
|
||||
// Android Compose
|
||||
implementation "androidx.compose.ui:ui:1.4.0"
|
||||
implementation "androidx.compose.ui:ui-util:1.4.0"
|
||||
implementation "androidx.compose.foundation:foundation:1.4.0"
|
||||
implementation "androidx.compose.material:material:1.4.0"
|
||||
implementation "androidx.compose.runtime:runtime-livedata:1.4.0"
|
||||
implementation "androidx.compose.ui:ui-tooling-preview:1.4.0"
|
||||
debugImplementation "androidx.compose.ui:ui-tooling:1.4.0"
|
||||
implementation "androidx.compose.ui:ui:1.6.8"
|
||||
implementation "androidx.compose.ui:ui-util:1.6.8"
|
||||
implementation "androidx.compose.foundation:foundation:1.6.8"
|
||||
implementation "androidx.compose.material:material:1.6.8"
|
||||
implementation "androidx.compose.runtime:runtime-livedata:1.6.8"
|
||||
implementation "androidx.compose.ui:ui-tooling-preview:1.6.8"
|
||||
debugImplementation "androidx.compose.ui:ui-tooling:1.6.8"
|
||||
|
||||
// Android Compose extension
|
||||
implementation "androidx.constraintlayout:constraintlayout-compose:1.0.1"
|
||||
implementation 'androidx.activity:activity-compose:1.7.0'
|
||||
implementation "androidx.paging:paging-compose:1.0.0-alpha18"
|
||||
implementation 'androidx.activity:activity-compose:1.9.0'
|
||||
implementation "androidx.paging:paging-compose:3.3.0"
|
||||
|
||||
// Material design
|
||||
implementation 'com.google.android.material:material:1.8.0'
|
||||
implementation "androidx.compose.material:material-icons-core:1.4.0"
|
||||
implementation "androidx.compose.material:material-icons-extended:1.4.0"
|
||||
implementation 'com.google.android.material:material:1.12.0'
|
||||
implementation "androidx.compose.material:material-icons-core:1.6.8"
|
||||
implementation "androidx.compose.material:material-icons-extended:1.6.8"
|
||||
|
||||
// Injection
|
||||
implementation 'androidx.hilt:hilt-navigation-compose:1.0.0'
|
||||
implementation "com.google.dagger:hilt-android:2.43.2"
|
||||
kapt "com.google.dagger:hilt-compiler:2.43.2"
|
||||
implementation 'androidx.hilt:hilt-navigation-compose:1.2.0'
|
||||
implementation "com.google.dagger:hilt-android:2.51.1"
|
||||
kapt "com.google.dagger:hilt-compiler:2.51.1"
|
||||
|
||||
// Accompanist
|
||||
implementation "com.google.accompanist:accompanist-navigation-material:0.30.1"
|
||||
implementation "com.google.accompanist:accompanist-systemuicontroller:0.30.1"
|
||||
implementation "com.google.accompanist:accompanist-pager-indicators:0.30.1"
|
||||
implementation "com.google.accompanist:accompanist-drawablepainter:0.30.1"
|
||||
implementation "com.google.accompanist:accompanist-placeholder-material:0.30.1"
|
||||
implementation "com.google.accompanist:accompanist-swiperefresh:0.30.1"
|
||||
implementation "com.google.accompanist:accompanist-navigation-material:0.34.0"
|
||||
implementation "com.google.accompanist:accompanist-systemuicontroller:0.34.0"
|
||||
implementation "com.google.accompanist:accompanist-pager-indicators:0.34.0"
|
||||
implementation "com.google.accompanist:accompanist-drawablepainter:0.34.0"
|
||||
implementation "com.google.accompanist:accompanist-placeholder-material:0.34.0"
|
||||
implementation "com.google.accompanist:accompanist-swiperefresh:0.34.0"
|
||||
|
||||
// Landscapist
|
||||
implementation "com.github.skydoves:landscapist-glide:1.5.2"
|
||||
|
|
@ -134,30 +135,30 @@ dependencies {
|
|||
implementation "org.burnoutcrew.composereorderable:reorderable:0.9.6"
|
||||
|
||||
// Navigation
|
||||
implementation "androidx.navigation:navigation-compose:2.5.3"
|
||||
implementation "androidx.navigation:navigation-compose:2.7.7"
|
||||
|
||||
// Splash Screen support prior to Android 12
|
||||
implementation "androidx.core:core-splashscreen:1.0.0"
|
||||
implementation "androidx.core:core-splashscreen:1.0.1"
|
||||
|
||||
// Google sign in.
|
||||
implementation "com.google.android.gms:play-services-auth:20.4.1"
|
||||
implementation "com.google.android.gms:play-services-auth:21.2.0"
|
||||
|
||||
// Firebase
|
||||
implementation platform('com.google.firebase:firebase-bom:31.3.0')
|
||||
implementation platform('com.google.firebase:firebase-bom:33.1.1')
|
||||
implementation 'com.google.firebase:firebase-crashlytics'
|
||||
|
||||
// RetroFit & Gson for webservice call
|
||||
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
||||
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
|
||||
implementation 'com.google.code.gson:gson:2.9.0'
|
||||
implementation 'com.google.code.gson:gson:2.10.1'
|
||||
|
||||
// Logging Network Calls
|
||||
implementation "com.squareup.okhttp3:logging-interceptor:4.8.1"
|
||||
implementation "com.squareup.okhttp3:logging-interceptor:4.11.0"
|
||||
|
||||
// Room
|
||||
implementation "androidx.room:room-runtime:2.5.1"
|
||||
implementation "androidx.room:room-ktx:2.5.1"
|
||||
kapt "androidx.room:room-compiler:2.5.1"
|
||||
implementation "androidx.room:room-runtime:2.6.1"
|
||||
implementation "androidx.room:room-ktx:2.6.1"
|
||||
kapt "androidx.room:room-compiler:2.6.1"
|
||||
}
|
||||
|
||||
static def generateVersionCode() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue