Files
KeyPass/common/build.gradle
Yogesh Choudhary Paliyal d2ef2db341 fix: bug fixes (#422)
2023-04-22 20:11:35 +05:30

80 lines
2.0 KiB
Groovy

plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlin-kapt'
id("dagger.hilt.android.plugin")
}
android {
compileSdk 33
defaultConfig {
minSdk 21
targetSdk 33
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
namespace 'com.yogeshpaliyal.common'
}
dependencies {
api 'androidx.core:core-ktx:1.10.0'
api 'androidx.appcompat:appcompat:1.6.1'
// apache common codec
implementation "commons-codec:commons-codec:1.15"
//Androidx Security
implementation "androidx.security:security-crypto:1.1.0-alpha05"
api "androidx.documentfile:documentfile:1.0.1"
api "androidx.room:room-runtime:$room_version"
androidTestApi 'androidx.test:rules:1.5.0'
kapt "androidx.room:room-compiler:$room_version"
api "androidx.room:room-ktx:$room_version"
api 'com.google.android.material:material:1.9.0-beta01'
// dependency injection
api("com.google.dagger:hilt-android:$hilt_version")
kapt("com.google.dagger:hilt-android-compiler:$hilt_version")
api("androidx.hilt:hilt-work:1.0.0")
// When using Kotlin.
kapt("androidx.hilt:hilt-compiler:1.0.0")
api "androidx.work:work-runtime-ktx:2.8.1"
implementation 'com.google.code.gson:gson:2.10.1'
api 'com.google.code.gson:gson:2.10.1'
api "androidx.datastore:datastore-preferences:1.0.0"
api "androidx.biometric:biometric:1.1.0"
// ViewModel
api "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
// LiveData
api "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
}