mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
65 lines
1.9 KiB
Groovy
65 lines
1.9 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'com.google.dagger.hilt.android'
|
|
}
|
|
|
|
android {
|
|
namespace 'one.nem.lacerta'
|
|
compileSdk 34
|
|
|
|
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'
|
|
|
|
// Hilt (DI)
|
|
implementation "com.google.dagger:hilt-android:2.44"
|
|
annotationProcessor "com.google.dagger:hilt-compiler:2.44"
|
|
|
|
// 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"
|
|
|
|
} |