mirror of
https://github.com/yogeshpaliyal/KeyPass.git
synced 2026-01-06 09:09:44 -06:00
Bumps [com.google.dagger:hilt-android-testing](https://github.com/google/dagger) from 2.44.2 to 2.45. - [Release notes](https://github.com/google/dagger/releases) - [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md) - [Commits](https://github.com/google/dagger/compare/dagger-2.44.2...dagger-2.45) --- updated-dependencies: - dependency-name: com.google.dagger:hilt-android-testing dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
145 lines
4.0 KiB
Groovy
145 lines
4.0 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'kotlin-android'
|
|
id 'kotlin-kapt'
|
|
id 'androidx.navigation.safeargs.kotlin'
|
|
id("dagger.hilt.android.plugin")
|
|
|
|
}
|
|
|
|
android {
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
applicationId "com.yogeshpaliyal.keypasscompose"
|
|
minSdk 21
|
|
targetSdk 33
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables {
|
|
useSupportLibrary true
|
|
}
|
|
}
|
|
|
|
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'
|
|
useIR = true
|
|
|
|
freeCompilerArgs += [
|
|
'-Xopt-in=androidx.compose.material3.ExperimentalMaterial3Api'
|
|
]
|
|
}
|
|
buildFeatures {
|
|
compose true
|
|
viewBinding = true
|
|
dataBinding = true
|
|
}
|
|
|
|
flavorDimensions "default"
|
|
productFlavors {
|
|
production {
|
|
}
|
|
|
|
staging {
|
|
applicationIdSuffix ".staging"
|
|
}
|
|
}
|
|
sourceSets {
|
|
main {
|
|
res {
|
|
srcDirs 'src\\main\\res', 'src\\staging\\res'
|
|
}
|
|
}
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = "1.2.0-beta01"
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
|
}
|
|
}
|
|
|
|
/*sourceSets {
|
|
main {
|
|
res {
|
|
srcDirs 'src\\main\\res', 'src\\staging\\res', '..\\common\\src\\staging\\res'
|
|
}
|
|
}
|
|
}*/
|
|
|
|
// namespace 'com.yogeshpaliyal.keypasscompose'
|
|
}
|
|
|
|
dependencies {
|
|
api project(":common")
|
|
|
|
implementation "androidx.compose.ui:ui:1.3.3"
|
|
implementation "androidx.compose.material:material:1.4.0-alpha04"
|
|
implementation "androidx.compose.ui:ui-tooling-preview:1.3.3"
|
|
implementation 'androidx.activity:activity-compose:1.5.1'
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1"
|
|
implementation "androidx.lifecycle:lifecycle-runtime-compose:2.6.0-alpha03"
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.5.1"
|
|
implementation "androidx.compose.material:material-icons-extended:1.3.1"
|
|
androidTestImplementation "androidx.compose.ui:ui-test-junit4:1.3.3"
|
|
debugImplementation "androidx.compose.ui:ui-tooling:1.3.3"
|
|
|
|
implementation 'androidx.compose.material3:material3:1.1.0-alpha04'
|
|
implementation "com.google.accompanist:accompanist-themeadapter-material3:0.28.0"
|
|
|
|
|
|
// XML Libraries
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}"
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'androidx.preference:preference-ktx:1.2.0'
|
|
|
|
|
|
implementation "androidx.navigation:navigation-fragment-ktx:$navigation_version"
|
|
implementation "androidx.navigation:navigation-ui-ktx:$navigation_version"
|
|
|
|
|
|
kapt "androidx.room:room-compiler:$room_version"
|
|
|
|
|
|
implementation 'com.yogeshpaliyal:universal-adapter:3.0.1'
|
|
|
|
|
|
// dependency injection
|
|
implementation("com.google.dagger:hilt-android:$hilt_version")
|
|
kapt("com.google.dagger:hilt-android-compiler:$hilt_version")
|
|
implementation("androidx.hilt:hilt-work:1.0.0")
|
|
// When using Kotlin.
|
|
kapt("androidx.hilt:hilt-compiler:1.0.0")
|
|
|
|
|
|
// zxing library
|
|
// implementation "com.googl.ezxing:android-core:3.4.1"
|
|
implementation 'com.journeyapps:zxing-android-embedded:4.3.0'
|
|
|
|
|
|
// For instrumented tests.
|
|
androidTestImplementation("com.google.dagger:hilt-android-testing:2.45")
|
|
// ...with Kotlin.
|
|
kaptAndroidTest("com.google.dagger:hilt-android-compiler:$hilt_version")
|
|
|
|
// For Robolectric tests.
|
|
testImplementation("com.google.dagger:hilt-android-testing:2.45")
|
|
// ...with Kotlin.
|
|
kaptTest("com.google.dagger:hilt-android-compiler:$hilt_version")
|
|
|
|
|
|
} |