mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
75 lines
2.4 KiB
Groovy
75 lines
2.4 KiB
Groovy
plugins {
|
|
id "com.android.application"
|
|
id "kotlin-android"
|
|
id "kotlin-kapt"
|
|
id "dagger.hilt.android.plugin"
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
buildToolsVersion "30.0.3"
|
|
|
|
defaultConfig {
|
|
applicationId "com.rtbishop.look4sat"
|
|
minSdkVersion 21
|
|
targetSdkVersion 30
|
|
versionCode 201
|
|
versionName "2.0.1"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
postprocessing {
|
|
removeUnusedCode true
|
|
removeUnusedResources true
|
|
obfuscate false
|
|
optimizeCode true
|
|
}
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
all {
|
|
exclude module: "commons-logging"
|
|
}
|
|
}
|
|
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:$material_version"
|
|
implementation "androidx.constraintlayout:constraintlayout:$constraint_layout_version"
|
|
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
|
|
implementation "androidx.navigation:navigation-fragment-ktx:$navigation_version"
|
|
implementation "androidx.navigation:navigation-ui-ktx:$navigation_version"
|
|
implementation "androidx.preference:preference-ktx:$preference_version"
|
|
implementation "androidx.viewpager2:viewpager2:$view_pager2_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.dagger:hilt-android:$hilt_version"
|
|
kapt "com.google.dagger:hilt-android-compiler:$hilt_version"
|
|
implementation "androidx.hilt:hilt-lifecycle-viewmodel:$hilt_viewmodel_version"
|
|
kapt "androidx.hilt:hilt-compiler:$hilt_viewmodel_version"
|
|
|
|
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
|
|
implementation "com.squareup.retrofit2:converter-moshi:$retrofit_version"
|
|
|
|
implementation "org.osmdroid:osmdroid-android:$osmdroid_version"
|
|
implementation "com.github.davidmoten:predict4java:$predict4java_version"
|
|
implementation "com.jakewharton.timber:timber:$timber_version"
|
|
|
|
testImplementation "junit:junit:$junit_version"
|
|
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leak_canary_version"
|
|
}
|