2019-12-15 12:11:05 +00:00
|
|
|
/*
|
2020-02-25 21:13:31 +00:00
|
|
|
* Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android.
|
|
|
|
* Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com)
|
2019-12-15 12:11:05 +00:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2019-10-16 19:13:20 +00:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2019-11-20 09:52:25 +00:00
|
|
|
apply plugin: 'kotlin-kapt'
|
2020-01-03 11:48:27 +00:00
|
|
|
apply plugin: "androidx.navigation.safeargs.kotlin"
|
2019-10-16 19:13:20 +00:00
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 29
|
2020-02-12 21:27:35 +00:00
|
|
|
buildToolsVersion "29.0.3"
|
2019-10-16 19:13:20 +00:00
|
|
|
defaultConfig {
|
2020-01-16 21:41:11 +00:00
|
|
|
applicationId "com.rtbishop.look4sat"
|
2020-02-03 18:47:47 +00:00
|
|
|
minSdkVersion 21
|
2019-10-16 19:13:20 +00:00
|
|
|
targetSdkVersion 29
|
2020-02-23 22:21:01 +00:00
|
|
|
versionCode 7
|
|
|
|
versionName '1.3.0'
|
2019-10-16 19:13:20 +00:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2020-01-26 16:34:05 +00:00
|
|
|
postprocessing {
|
|
|
|
removeUnusedCode true
|
|
|
|
removeUnusedResources true
|
|
|
|
obfuscate false
|
|
|
|
optimizeCode true
|
|
|
|
}
|
2019-10-16 19:13:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
|
|
|
}
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
2019-10-27 17:19:12 +00:00
|
|
|
implementation "com.google.android.material:material:$material"
|
2019-10-16 20:41:07 +00:00
|
|
|
implementation "androidx.appcompat:appcompat:$supportLib"
|
|
|
|
implementation "androidx.legacy:legacy-support-v4:$supportLib"
|
|
|
|
implementation "androidx.constraintlayout:constraintlayout:$constraintLayout"
|
2019-10-16 19:34:56 +00:00
|
|
|
|
2019-10-16 20:41:07 +00:00
|
|
|
implementation "androidx.core:core-ktx:$ktx"
|
|
|
|
implementation "androidx.preference:preference:$preference"
|
|
|
|
|
|
|
|
// architecture components
|
|
|
|
implementation "androidx.navigation:navigation-fragment-ktx:$navigation"
|
|
|
|
implementation "androidx.navigation:navigation-runtime-ktx:$navigation"
|
|
|
|
implementation "androidx.navigation:navigation-ui-ktx:$navigation"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle"
|
2019-11-08 12:50:44 +00:00
|
|
|
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle"
|
2019-12-15 12:11:05 +00:00
|
|
|
|
|
|
|
// room
|
2019-10-16 20:41:07 +00:00
|
|
|
implementation "androidx.room:room-runtime:$room"
|
|
|
|
implementation "androidx.room:room-ktx:$room"
|
|
|
|
kapt "androidx.room:room-compiler:$room"
|
|
|
|
|
|
|
|
// retrofit
|
|
|
|
implementation "com.squareup.retrofit2:retrofit:$retrofit"
|
2019-10-20 21:20:43 +00:00
|
|
|
implementation "com.squareup.retrofit2:converter-gson:$retrofit"
|
2019-10-16 20:41:07 +00:00
|
|
|
|
2019-11-20 09:52:25 +00:00
|
|
|
//dagger
|
|
|
|
implementation "com.google.dagger:dagger:$dagger"
|
|
|
|
kapt "com.google.dagger:dagger-compiler:$dagger"
|
|
|
|
|
2019-10-16 20:41:07 +00:00
|
|
|
// predict4java
|
|
|
|
implementation "com.github.davidmoten:predict4java:$predict4java"
|
2019-10-16 19:13:20 +00:00
|
|
|
}
|