element-android-Github/library/ui-styles/build.gradle

55 lines
1.2 KiB
Groovy
Raw Normal View History

2021-06-15 18:23:54 +08:00
/*
2024-09-24 18:09:02 +08:00
* Copyright 2021-2024 New Vector Ltd.
2021-06-15 18:23:54 +08:00
*
2024-09-24 18:09:02 +08:00
* SPDX-License-Identifier: AGPL-3.0-only
* Please see LICENSE in the repository root for full details.
2021-06-15 18:23:54 +08:00
*/
plugins {
id 'com.android.library'
id 'kotlin-android'
}
android {
namespace "im.vector.lib.ui.styles"
2021-09-15 17:28:58 +08:00
compileSdk versions.compileSdk
2021-06-15 18:23:54 +08:00
defaultConfig {
2021-09-15 17:28:58 +08:00
minSdk versions.minSdk
targetSdk versions.targetSdk
2021-06-15 18:23:54 +08:00
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
2021-06-15 18:23:54 +08:00
compileOptions {
2021-09-15 17:28:58 +08:00
sourceCompatibility versions.sourceCompat
targetCompatibility versions.targetCompat
2021-06-15 18:23:54 +08:00
}
2021-06-15 18:23:54 +08:00
kotlinOptions {
jvmTarget = versions.jvmTarget
2021-06-15 18:23:54 +08:00
}
buildFeatures {
viewBinding true
}
2021-06-15 18:23:54 +08:00
}
dependencies {
2021-09-15 17:28:58 +08:00
implementation libs.androidx.appCompat
implementation libs.androidx.fragmentKtx
implementation libs.google.material
2022-04-17 17:35:30 +08:00
// Pref theme
implementation libs.androidx.preferenceKtx
// dialpad dimen
implementation project(":library:external:dialpad")
2022-04-16 04:50:54 +08:00
}