Store/app/build.gradle
Mike Nakhimovich 20aa57a002
upgrade agp (#441)
Co-authored-by: Mike Nakhimovich <mnakhimovich@MacBook-Pro.localdomain>
2022-08-18 18:59:44 -04:00

79 lines
2.3 KiB
Groovy

plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-kapt'
id 'org.jetbrains.kotlin.plugin.serialization'
}
android {
compileSdkVersion versions.compileSdk
buildToolsVersion versions.buildTools
defaultConfig {
applicationId "com.dropbox.android.store.sample"
minSdkVersion 19
compileSdkVersion versions.compileSdk
targetSdkVersion versions.targetSdk
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lint {
abortOnError false
disable 'InvalidPackage'
}
namespace 'com.dropbox.android.sample'
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs += [
'-Xopt-in=kotlin.Experimental',
]
}
}
dependencies {
testImplementation libraries.junit
testImplementation libraries.mockito
testImplementation libraries.coroutinesTest
implementation libraries.recyclerView
implementation libraries.swipeRefreshLayout
implementation libraries.appCompat
implementation libraries.fragment
implementation libraries.lifecycle
implementation libraries.material
implementation libraries.retrofit
implementation libraries.roomRuntime
implementation libraries.coreKtx
implementation libraries.lifecycleExtensions
implementation libraries.navigationFragment
implementation libraries.navigationUi
implementation libraries.constraintLayout
implementation libraries.cache
implementation libraries.kotlinSerialization
implementation libraries.okHttp
implementation libraries.picasso
implementation libraries.retrofitSerializerConverter
kapt(libraries.roomCompiler)
implementation libraries.store
implementation libraries.filesystem
implementation libraries.coroutinesCore
implementation libraries.coroutinesAndroid
debugImplementation libraries.leakcanary
}