72 lines
2.2 KiB
Groovy
72 lines
2.2 KiB
Groovy
plugins {
|
|
id 'kotlin-android'
|
|
id 'kotlin-kapt'
|
|
id 'com.android.application'
|
|
id 'androidx.navigation.safeargs.kotlin'
|
|
id 'dagger.hilt.android.plugin'
|
|
id 'org.jetbrains.kotlin.plugin.serialization'
|
|
}
|
|
|
|
android {
|
|
compileSdk 31
|
|
|
|
defaultConfig {
|
|
applicationId "gq.kirmanak.mealie"
|
|
minSdk 21
|
|
targetSdk 31
|
|
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
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "com.google.android.material:material:1.4.0"
|
|
|
|
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
|
|
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
|
|
androidTestImplementation "androidx.navigation:navigation-testing:$nav_version"
|
|
|
|
implementation "androidx.core:core-ktx:1.7.0"
|
|
|
|
implementation "androidx.appcompat:appcompat:1.3.1"
|
|
|
|
implementation "androidx.constraintlayout:constraintlayout:2.1.1"
|
|
|
|
def lifecycle_version = "2.4.0"
|
|
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
|
|
|
|
implementation "com.google.dagger:hilt-android:$hilt_version"
|
|
kapt "com.google.dagger:hilt-compiler:$hilt_version"
|
|
|
|
implementation "com.squareup.retrofit2:retrofit:2.9.0"
|
|
implementation "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8.0"
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.0"
|
|
|
|
implementation "androidx.preference:preference-ktx:1.1.1"
|
|
|
|
testImplementation "junit:junit:4.13.2"
|
|
|
|
androidTestImplementation "androidx.test.ext:junit:1.1.3"
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:3.4.0"
|
|
} |