HomePage redesign.

This commit is contained in:
Thomas Andres Gomez 2023-03-28 14:53:18 +02:00
parent 74fed885d0
commit f33c6392d8
56 changed files with 1935 additions and 1766 deletions

View file

@ -8,14 +8,23 @@ plugins {
android {
compileSdk 33
buildToolsVersion "33.0.0"
namespace 'com.pixelized.biblib'
signingConfigs {
pixelized {
storeFile file(project.properties["PIXELIZED_RELEASE_STORE_FILE"])
storePassword project.properties["PIXELIZED_RELEASE_STORE_PASSWORD"]
keyAlias project.properties["PIXELIZED_RELEASE_KEY_ALIAS"]
keyPassword project.properties["PIXELIZED_RELEASE_KEY_PASSWORD"]
}
}
defaultConfig {
applicationId "com.pixelized.biblib"
minSdk 26
targetSdk 33
versionCode generateVersionCode()
versionName "0.1.4"
versionName "0.1.5"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
@ -33,15 +42,6 @@ android {
}
}
signingConfigs {
pixelized {
storeFile file(project.properties["PIXELIZED_RELEASE_STORE_FILE"])
storePassword project.properties["PIXELIZED_RELEASE_STORE_PASSWORD"]
keyAlias project.properties["PIXELIZED_RELEASE_KEY_ALIAS"]
keyPassword project.properties["PIXELIZED_RELEASE_KEY_PASSWORD"]
}
}
buildTypes {
debug {
applicationIdSuffix ".debug"
@ -70,11 +70,12 @@ android {
}
composeOptions {
kotlinCompilerExtensionVersion '1.3.0'
kotlinCompilerExtensionVersion '1.4.4'
}
packagingOptions {
resources {
pickFirsts += "**/kotlinx_coroutines_core.version"
excludes += '/META-INF/{AL2.0,LGPL2.1}'
}
}
@ -82,35 +83,36 @@ android {
lint {
disable 'MissingTranslation'
}
namespace 'com.pixelized.biblib'
}
dependencies {
// Kotlin core
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.8.10"
// Android core
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.appcompat:appcompat:1.6.0-beta01'
implementation 'com.google.android.material:material:1.6.1'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.5.1"
debugImplementation "androidx.activity:activity-ktx:1.6.0-rc01"
implementation 'androidx.activity:activity-compose:1.5.1'
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"
// Android Compose
implementation "androidx.compose.ui:ui:1.2.1"
implementation "androidx.compose.ui:ui-util:1.2.1"
implementation "androidx.compose.foundation:foundation:1.2.1"
implementation "androidx.compose.material:material:1.2.1"
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"
// Android Compose extension
implementation "androidx.constraintlayout:constraintlayout-compose:1.0.1"
implementation "androidx.compose.runtime:runtime-livedata:1.2.1"
implementation "androidx.compose.ui:ui-tooling-preview:1.2.1"
debugImplementation "androidx.compose.ui:ui-tooling:1.2.1"
implementation 'androidx.activity:activity-compose:1.7.0'
implementation "androidx.paging:paging-compose:1.0.0-alpha18"
// Paging
implementation "androidx.paging:paging-compose:1.0.0-alpha16"
// Material design icons
implementation "androidx.compose.material:material-icons-core:1.2.1"
implementation "androidx.compose.material:material-icons-extended:1.2.1"
// 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"
// Injection
implementation 'androidx.hilt:hilt-navigation-compose:1.0.0'
@ -132,26 +134,26 @@ dependencies {
kapt 'com.github.bumptech.glide:compiler:4.13.2' // this have to be align with landscapist-glide
// Navigation
implementation "androidx.navigation:navigation-compose:2.5.2"
implementation "androidx.navigation:navigation-compose:2.5.3"
// Splash Screen support prior to Android 12
implementation "androidx.core:core-splashscreen:1.0.0"
// Google sign in.
implementation "com.google.android.gms:play-services-auth:20.3.0"
implementation "com.google.android.gms:play-services-auth:20.4.1"
// 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.8.9'
implementation 'com.google.code.gson:gson:2.9.0'
// Logging Network Calls
implementation "com.squareup.okhttp3:logging-interceptor:4.8.1"
// Room
implementation "androidx.room:room-runtime:2.4.3"
implementation "androidx.room:room-ktx:2.4.3"
kapt "androidx.room:room-compiler:2.4.3"
implementation "androidx.room:room-runtime:2.5.1"
implementation "androidx.room:room-ktx:2.5.1"
kapt "androidx.room:room-compiler:2.5.1"
}
static def generateVersionCode() {