Add google signin & navigation.
This commit is contained in:
parent
6876ad7052
commit
f2357c6151
31 changed files with 764 additions and 114 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import com.android.build.gradle.internal.dsl.SigningConfig
|
||||
|
||||
plugins {
|
||||
id("com.android.application")
|
||||
id("org.jetbrains.kotlin.android")
|
||||
|
|
@ -6,15 +8,24 @@ plugins {
|
|||
}
|
||||
|
||||
android {
|
||||
namespace = "com.pixelized.lexique"
|
||||
namespace = "com.pixelized.rplexicon"
|
||||
compileSdk = 33
|
||||
|
||||
signingConfigs {
|
||||
create("pixelized") {
|
||||
storeFile = file(project.properties["PIXELIZED_RELEASE_STORE_FILE"] as String)
|
||||
storePassword = project.properties["PIXELIZED_RELEASE_STORE_PASSWORD"] as String
|
||||
keyAlias = project.properties["PIXELIZED_RELEASE_KEY_ALIAS"] as String
|
||||
keyPassword = project.properties["PIXELIZED_RELEASE_KEY_PASSWORD"] as String
|
||||
}
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.pixelized.lexique"
|
||||
applicationId = "com.pixelized.rplexicon"
|
||||
minSdk = 26
|
||||
targetSdk = 33
|
||||
versionCode = 1
|
||||
versionName = "1.0"
|
||||
versionName = "0.1.0"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
|
|
@ -24,10 +35,20 @@ android {
|
|||
|
||||
buildTypes {
|
||||
release {
|
||||
isMinifyEnabled = false
|
||||
isDebuggable = false
|
||||
isMinifyEnabled = true
|
||||
signingConfig = signingConfigs.pixelized
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
|
||||
)
|
||||
}
|
||||
debug {
|
||||
applicationIdSuffix = ".dev"
|
||||
isDebuggable = true
|
||||
isMinifyEnabled = false
|
||||
signingConfig = signingConfigs.pixelized
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
@ -67,15 +88,24 @@ dependencies {
|
|||
implementation("androidx.compose.material3:material3:1.1.1")
|
||||
debugImplementation("androidx.compose.ui:ui-tooling:1.4.3")
|
||||
|
||||
// Accompanist
|
||||
implementation("com.google.accompanist:accompanist-navigation-animation:0.30.1")
|
||||
implementation("com.google.accompanist:accompanist-placeholder:0.30.1")
|
||||
|
||||
// Hilt: Dependency injection
|
||||
implementation("androidx.hilt:hilt-navigation-compose:1.0.0")
|
||||
implementation("com.google.dagger:hilt-android:2.45")
|
||||
kapt("com.google.dagger:hilt-compiler:2.45")
|
||||
|
||||
// Google service
|
||||
implementation("com.google.android.gms:play-services-auth:20.6.0")
|
||||
|
||||
// Image
|
||||
implementation("com.github.skydoves:landscapist-glide:2.1.11")
|
||||
kapt("com.github.bumptech.glide:compiler:4.14.2") // this have to be align with landscapist-glide
|
||||
|
||||
// Retrofit : Network
|
||||
implementation("com.squareup.retrofit2:retrofit:2.9.0")
|
||||
}
|
||||
}
|
||||
|
||||
private val NamedDomainObjectContainer<SigningConfig>.pixelized get() = this.getByName("pixelized")
|
||||
Loading…
Add table
Add a link
Reference in a new issue