-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from alexandr7035/develop
Release v4.1
- Loading branch information
Showing
134 changed files
with
2,101 additions
and
1,291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
import java.util.Properties | ||
import java.io.FileInputStream | ||
|
||
plugins { | ||
id("com.android.application") | ||
id("kotlin-android") | ||
id("kotlin-kapt") | ||
id("dagger.hilt.android.plugin") | ||
id("androidx.navigation.safeargs") | ||
} | ||
|
||
val keystorePropertiesFile = rootProject.file("keystore.properties") | ||
val keystoreProperties = Properties().apply { | ||
load(FileInputStream(keystorePropertiesFile)) | ||
} | ||
|
||
android { | ||
compileSdk = 33 | ||
|
||
signingConfigs { | ||
create("config") { | ||
keyAlias = keystoreProperties["keyAlias"] as String | ||
keyPassword = keystoreProperties["keyPassword"] as String | ||
storeFile = file(keystoreProperties["storeFile"] as String) | ||
storePassword = keystoreProperties["storePassword"] as String | ||
} | ||
} | ||
|
||
defaultConfig { | ||
applicationId = "by.alexandr7035.affinidi_id" | ||
minSdk = 21 | ||
targetSdk = 33 | ||
versionCode = 700 | ||
versionName = "4.1" | ||
|
||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
buildTypes { | ||
getByName("release") { | ||
isMinifyEnabled = true | ||
isShrinkResources = true | ||
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") | ||
} | ||
|
||
getByName("debug") { | ||
signingConfig = signingConfigs.getByName("config") | ||
applicationIdSuffix = ".debug" | ||
isDebuggable = true | ||
versionNameSuffix = ".debug" | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility = JavaVersion.VERSION_17 | ||
targetCompatibility = JavaVersion.VERSION_17 | ||
} | ||
kotlinOptions { | ||
jvmTarget = "17" | ||
} | ||
|
||
buildFeatures { | ||
viewBinding = true | ||
} | ||
namespace = "by.alexandr7035.affinidi_id" | ||
} | ||
|
||
dependencies { | ||
implementation(project(":domain")) | ||
implementation(project(":data")) | ||
|
||
implementation("androidx.core:core-ktx:1.10.1") | ||
implementation("androidx.appcompat:appcompat:1.6.1") | ||
implementation("com.google.android.material:material:1.9.0") | ||
implementation("androidx.constraintlayout:constraintlayout:2.1.4") | ||
implementation("androidx.legacy:legacy-support-v4:1.0.0") | ||
implementation("androidx.biometric:biometric-ktx:1.2.0-alpha05") | ||
testImplementation("junit:junit:4.+") | ||
androidTestImplementation("androidx.test.ext:junit:1.1.5") | ||
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") | ||
|
||
// Hilt | ||
implementation("com.google.dagger:hilt-android:2.44") | ||
kapt("com.google.dagger:hilt-android-compiler:2.44") | ||
|
||
// Timber | ||
implementation("com.jakewharton.timber:timber:5.0.1") | ||
|
||
// Retrofit | ||
implementation("com.squareup.retrofit2:retrofit:2.9.0") | ||
implementation("com.squareup.retrofit2:converter-gson:2.9.0") | ||
implementation("com.squareup.okhttp3:logging-interceptor:4.9.3") | ||
|
||
// Room | ||
val room_version = "2.5.0" | ||
implementation("androidx.room:room-runtime:$room_version") | ||
kapt("androidx.room:room-compiler:$room_version") | ||
implementation("androidx.room:room-ktx:$room_version") | ||
|
||
// Navigation | ||
val navVersion = "2.6.0" | ||
implementation("androidx.navigation:navigation-fragment-ktx:$navVersion") | ||
implementation("androidx.navigation:navigation-ui-ktx:$navVersion") | ||
|
||
// ViewBinding delegate | ||
val viewbindingdelegateVersion = "1.5.6" | ||
implementation("com.github.kirich1409:viewbindingpropertydelegate-noreflection:$viewbindingdelegateVersion") | ||
|
||
// Coil | ||
implementation("io.coil-kt:coil:2.3.0") | ||
implementation("io.coil-kt:coil-svg:2.3.0") | ||
|
||
// CircleImageView | ||
implementation("de.hdodenhof:circleimageview:3.1.0") | ||
|
||
// QR code scanning | ||
implementation("com.journeyapps:zxing-android-embedded:4.3.0") { | ||
isTransitive = false | ||
} | ||
implementation("com.google.zxing:core:3.3.0") | ||
|
||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.2") | ||
|
||
// Kotlin SharedPrefs wrapper | ||
implementation("com.github.cioccarellia:ksprefs:2.3.2") | ||
|
||
// Permissions lib | ||
implementation("com.guolindev.permissionx:permissionx:1.7.1") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.