81 lines
2.3 KiB
Groovy
81 lines
2.3 KiB
Groovy
/*
|
|
* Copyright 2024 by Patryk Goworowski and Patrick Michalik.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
plugins {
|
|
id "app.cash.paparazzi"
|
|
id "com.android.application"
|
|
id "kotlin-android"
|
|
id "org.jetbrains.kotlin.plugin.compose"
|
|
}
|
|
|
|
android {
|
|
defaultConfig {
|
|
minSdk library.compose_min_sdk
|
|
targetSdk library.target_sdk
|
|
compileSdk library.target_sdk
|
|
versionCode library.version_code
|
|
versionName library.version_name
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding true
|
|
compose true
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
}
|
|
|
|
namespace "com.patrykandpatrick.vico"
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation project(":vico:compose-m3")
|
|
implementation project(":vico:views")
|
|
implementation platform(libs.composeBom)
|
|
implementation libs.activityCompose
|
|
implementation libs.androidXCore
|
|
implementation libs.appcompat
|
|
implementation libs.composeMaterial
|
|
implementation libs.composeMaterial3
|
|
implementation libs.composeNavigation
|
|
implementation libs.composePreview
|
|
implementation libs.composeUI
|
|
implementation libs.composeViewBinding
|
|
implementation libs.coroutinesCore
|
|
implementation libs.kotlinStdLib
|
|
implementation libs.lifecycleRuntime
|
|
implementation libs.lifecycleRuntimeCompose
|
|
implementation libs.material
|
|
implementation libs.systemUIController
|
|
implementation libs.viewModelCompose
|
|
debugImplementation libs.composeUITooling
|
|
testImplementation libs.kotlinTest
|
|
}
|