Look4Sat/app/build.gradle

94 wiersze
3.2 KiB
Groovy
Czysty Zwykły widok Historia

/*******************************************************************************
Look4Sat. Amateur radio satellite tracker and pass predictor.
Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
******************************************************************************/
plugins {
id "com.android.application"
id "kotlin-android"
id "kotlin-kapt"
id "dagger.hilt.android.plugin"
}
android {
compileSdkVersion 30
buildToolsVersion "30.0.2"
defaultConfig {
applicationId "com.rtbishop.look4sat"
minSdkVersion 21
targetSdkVersion 30
versionCode 200
versionName "2.0.0"
}
buildTypes {
release {
postprocessing {
removeUnusedCode true
removeUnusedResources true
obfuscate false
optimizeCode true
}
}
}
2020-11-24 14:56:13 +00:00
configurations {
all {
exclude module: "commons-logging"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
2020-05-31 09:58:47 +00:00
buildFeatures {
viewBinding = true
}
}
dependencies {
2020-07-01 13:43:51 +00:00
implementation "com.google.android.material:material:$material_version"
implementation "androidx.constraintlayout:constraintlayout:$constraint_layout_version"
implementation "androidx.navigation:navigation-fragment-ktx:$navigation_version"
implementation "androidx.navigation:navigation-ui-ktx:$navigation_version"
2020-10-12 22:39:46 +00:00
implementation "androidx.preference:preference-ktx:$preference_version"
2020-11-19 15:18:14 +00:00
implementation "androidx.viewpager2:viewpager2:$view_pager2_version"
2020-07-01 13:43:51 +00:00
implementation "androidx.room:room-runtime:$room_version"
implementation "androidx.room:room-ktx:$room_version"
kapt "androidx.room:room-compiler:$room_version"
2019-10-16 20:41:07 +00:00
implementation "com.google.dagger:hilt-android:$hilt_version"
kapt "com.google.dagger:hilt-android-compiler:$hilt_version"
2020-11-19 15:18:14 +00:00
implementation "androidx.hilt:hilt-lifecycle-viewmodel:$hilt_viewmodel_version"
kapt "androidx.hilt:hilt-compiler:$hilt_viewmodel_version"
2020-06-23 13:40:42 +00:00
2020-07-01 13:43:51 +00:00
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-moshi:$retrofit_version"
2019-10-16 20:41:07 +00:00
2020-10-06 22:19:20 +00:00
implementation "org.osmdroid:osmdroid-android:$osmdroid_version"
2020-07-01 13:43:51 +00:00
implementation "com.github.davidmoten:predict4java:$predict4java_version"
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leak_canary_version"
testImplementation "junit:junit:$junit_version"
}