blob: 926b9a28ec16d4cea679a3102d07059fa8224040 [file] [log] [blame]
import android.support.LibraryVersions
apply plugin: 'com.android.library'
apply plugin: 'maven'
android {
compileSdkVersion tools.current_sdk
buildToolsVersion tools.build_tools_version
defaultConfig {
minSdkVersion flatfoot.min_sdk
targetSdkVersion tools.current_sdk
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes.all {
consumerProguardFiles 'proguard-rules.pro'
}
buildTypes {
release {
minifyEnabled false
}
}
testOptions {
unitTests.returnDefaultValues = true
}
}
dependencies {
compile project(":lifecycle:common")
compile project(":arch:common")
// necessary for IJ to resolve dependencies.
compile libs.support.annotations
testCompile libs.junit
testCompile libs.mockito_core
testCompile(libs.test_runner) {
exclude module: 'support-annotations'
}
}
createAndroidCheckstyle(project)
version = LibraryVersions.LIFECYCLES.toString()