mirror of
https://github.com/rt-bishop/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
74 lines
2.6 KiB
Groovy
74 lines
2.6 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion "29.0.2"
|
|
defaultConfig {
|
|
applicationId "com.rtbishop.lookingsat"
|
|
minSdkVersion 24
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "0.2"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation "com.google.android.material:material:$material"
|
|
implementation "androidx.appcompat:appcompat:$supportLib"
|
|
implementation "androidx.legacy:legacy-support-v4:$supportLib"
|
|
implementation "androidx.constraintlayout:constraintlayout:$constraintLayout"
|
|
|
|
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"
|
|
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle"
|
|
implementation "androidx.work:work-runtime-ktx:$work"
|
|
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"
|
|
implementation "com.squareup.retrofit2:converter-gson:$retrofit"
|
|
|
|
//dagger
|
|
implementation "com.google.dagger:dagger:$dagger"
|
|
kapt "com.google.dagger:dagger-compiler:$dagger"
|
|
|
|
// predict4java
|
|
implementation "com.github.davidmoten:predict4java:$predict4java"
|
|
|
|
// location
|
|
implementation "com.google.android.gms:play-services-location:$google_play"
|
|
|
|
// testing
|
|
testImplementation "junit:junit:$junit"
|
|
androidTestImplementation "androidx.test:runner:$runner"
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:$espresso"
|
|
}
|