mirror of
https://github.com/rt-bishop/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
83 lines
2.8 KiB
Groovy
83 lines
2.8 KiB
Groovy
plugins {
|
|
id "com.android.application"
|
|
id "com.google.devtools.ksp"
|
|
id "org.jetbrains.kotlin.android"
|
|
}
|
|
|
|
android {
|
|
namespace "com.rtbishop.look4sat"
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
applicationId "com.rtbishop.look4sat"
|
|
minSdk 21
|
|
targetSdk 33
|
|
versionCode 312
|
|
versionName "3.1.2"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildFeatures {
|
|
compose true
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion compose_compiler_version
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_17.toString()
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
|
}
|
|
}
|
|
testOptions {
|
|
animationsDisabled true
|
|
unitTests.includeAndroidResources true
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(17)
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(":base")
|
|
// Android
|
|
implementation "androidx.core:core-splashscreen:$splashscreen_version"
|
|
implementation "androidx.room:room-runtime:$room_version"
|
|
implementation "androidx.room:room-ktx:$room_version"
|
|
ksp "androidx.room:room-compiler:$room_version"
|
|
// Compose
|
|
implementation "androidx.activity:activity-compose:$activity_compose_version"
|
|
implementation "androidx.compose.animation:animation:$compose_version"
|
|
implementation "androidx.compose.compiler:compiler:$compose_compiler_version"
|
|
implementation "androidx.compose.material3:material3:$material3_version"
|
|
implementation "androidx.compose.runtime:runtime:$compose_version"
|
|
implementation "androidx.compose.ui:ui:$compose_version"
|
|
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycle_version"
|
|
implementation "androidx.navigation:navigation-compose:$navigation_version"
|
|
// Utility
|
|
implementation "org.osmdroid:osmdroid-android:$osmdroid_version"
|
|
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
|
|
debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version"
|
|
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakcanary_version"
|
|
// Test
|
|
testImplementation "junit:junit:$junit_version"
|
|
testImplementation "io.mockk:mockk:$mockk_version"
|
|
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_test_version"
|
|
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
|
|
}
|