mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-26 15:18:19 +08:00
ba9d78e0d2
Other files.
53 lines
1.2 KiB
Groovy
53 lines
1.2 KiB
Groovy
/*
|
|
* Copyright 2020-2024 New Vector Ltd.
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
* Please see LICENSE in the repository root for full details.
|
|
*/
|
|
|
|
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
namespace "im.vector.lib.attachmentviewer"
|
|
|
|
compileSdk versions.compileSdk
|
|
|
|
defaultConfig {
|
|
minSdk versions.minSdk
|
|
targetSdk versions.targetSdk
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility versions.sourceCompat
|
|
targetCompatibility versions.targetCompat
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = versions.jvmTarget
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(":library:ui-styles")
|
|
implementation project(":library:core-utils")
|
|
|
|
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
|
|
|
|
implementation libs.androidx.core
|
|
implementation libs.androidx.appCompat
|
|
implementation libs.androidx.recyclerview
|
|
|
|
api libs.androidx.viewpager2
|
|
implementation libs.androidx.transition
|
|
}
|