Lacerta/app/build.gradle

65 lines
1.9 KiB
Groovy
Raw Normal View History

2023-12-07 01:36:00 +00:00
plugins {
id 'com.android.application'
2023-12-07 01:42:14 +00:00
id 'com.google.dagger.hilt.android'
2023-12-07 01:36:00 +00:00
}
android {
namespace 'one.nem.lacerta'
compileSdk 34
2023-12-07 01:36:00 +00:00
defaultConfig {
applicationId "one.nem.lacerta"
minSdk 26
targetSdk 33
versionCode 1
versionName "1.0"
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
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.10.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
2023-12-07 01:42:55 +00:00
// Hilt (DI)
implementation "com.google.dagger:hilt-android:2.44"
annotationProcessor "com.google.dagger:hilt-compiler:2.44"
2023-12-07 01:42:55 +00:00
2023-12-07 05:27:21 +00:00
// Navigation Component
def nav_version = "2.7.5"
// Java language implementation
implementation "androidx.navigation:navigation-fragment:$nav_version"
implementation "androidx.navigation:navigation-ui:$nav_version"
// Kotlin
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
// Feature module Support
implementation "androidx.navigation:navigation-dynamic-features-fragment:$nav_version"
// Testing Navigation
androidTestImplementation "androidx.navigation:navigation-testing:$nav_version"
// Jetpack Compose Integration
implementation "androidx.navigation:navigation-compose:$nav_version"
2023-12-07 01:36:00 +00:00
}