mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
116 lines
4.8 KiB
Groovy
116 lines
4.8 KiB
Groovy
plugins {
|
|
id "com.android.application"
|
|
id "org.jetbrains.kotlin.android"
|
|
id "org.jetbrains.kotlin.kapt"
|
|
id "dagger.hilt.android.plugin"
|
|
id "androidx.navigation.safeargs.kotlin"
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 31
|
|
buildToolsVersion "31.0.0"
|
|
|
|
defaultConfig {
|
|
applicationId "com.rtbishop.look4sat"
|
|
minSdk 21
|
|
targetSdk 31
|
|
versionCode 303
|
|
versionName "3.0.3"
|
|
resConfigs "en,ru"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables {
|
|
useSupportLibrary true
|
|
}
|
|
|
|
kapt {
|
|
arguments {
|
|
arg("room.schemaLocation", "$projectDir/schemas")
|
|
arg("room.incremental", "true")
|
|
arg("room.expandProjection", "true")
|
|
}
|
|
}
|
|
}
|
|
buildTypes {
|
|
release {
|
|
postprocessing {
|
|
removeUnusedCode true
|
|
removeUnusedResources true
|
|
obfuscate false
|
|
optimizeCode true
|
|
}
|
|
}
|
|
}
|
|
buildFeatures {
|
|
compose true
|
|
viewBinding true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion compose_version
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_11.toString()
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
|
}
|
|
}
|
|
testOptions {
|
|
animationsDisabled true
|
|
unitTests.includeAndroidResources true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(":base")
|
|
implementation "androidx.core:core-ktx:$core_ktx_version"
|
|
implementation "androidx.core:core-splashscreen:$core_splashscreen_version"
|
|
implementation "androidx.constraintlayout:constraintlayout:$constraint_version"
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
|
|
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version"
|
|
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
|
|
implementation "androidx.navigation:navigation-runtime-ktx:$navigation_version"
|
|
implementation "androidx.navigation:navigation-fragment-ktx:$navigation_version"
|
|
implementation "androidx.navigation:navigation-ui-ktx:$navigation_version"
|
|
implementation "androidx.room:room-runtime:$room_version"
|
|
implementation "androidx.room:room-ktx:$room_version"
|
|
kapt "androidx.room:room-compiler:$room_version"
|
|
implementation "com.google.android.material:material:$material_version"
|
|
implementation "com.google.dagger:hilt-android:$hilt_version"
|
|
kapt "com.google.dagger:hilt-compiler:$hilt_version"
|
|
implementation "org.osmdroid:osmdroid-android:$osmdroid_version"
|
|
|
|
implementation "androidx.compose.ui:ui:$compose_version"
|
|
implementation "androidx.compose.ui:ui-tooling:$compose_version"
|
|
implementation "androidx.compose.animation:animation:$compose_version"
|
|
implementation "androidx.compose.foundation:foundation:$compose_version"
|
|
implementation "androidx.activity:activity-compose:$activity_compose_version"
|
|
implementation "androidx.compose.runtime:runtime-livedata:$compose_version"
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycle_version"
|
|
implementation "androidx.compose.material:material:$compose_version"
|
|
implementation "androidx.compose.material:material-icons-extended:$compose_version"
|
|
implementation "com.google.android.material:compose-theme-adapter:$material_adapter_version"
|
|
|
|
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
|
|
debugImplementation "androidx.fragment:fragment-testing:$fragment_test_version"
|
|
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakcanary_version"
|
|
testImplementation "junit:junit:$junit_version"
|
|
testImplementation "org.mockito:mockito-core:$mockito_version"
|
|
testImplementation "org.robolectric:robolectric:$robolectric_version"
|
|
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_test_version"
|
|
androidTestImplementation "androidx.test:core:$androidx_test_version"
|
|
androidTestImplementation "androidx.test:runner:$androidx_test_version"
|
|
androidTestImplementation "androidx.test:rules:$androidx_test_version"
|
|
androidTestImplementation "androidx.test.ext:junit:$androidx_junit_version"
|
|
androidTestImplementation "androidx.test.ext:truth:$androidx_test_version"
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:$espresso_version"
|
|
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
|
|
androidTestImplementation "org.mockito:mockito-android:$mockito_version"
|
|
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_test_version"
|
|
}
|