blob: 067352fbf62c021e9b767170acab4c80ff0556d4 [file] [log] [blame]
apply plugin: 'com.android.library'
apply plugin: 'maven'
android {
compileSdkVersion compile_sdk_version
buildToolsVersion build_tools_version
defaultConfig {
minSdkVersion min_sdk_version
targetSdkVersion target_sdk_version
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
testOptions {
unitTests.returnDefaultValues = true
}
}
dependencies {
compile project(":common")
// using classes like Pair from support core allows Lifecycle to be compatible w/ junit tests
compile "com.android.support:support-core-utils:$support_lib_version"
testCompile "junit:junit:$junit_version"
testCompile "org.mockito:mockito-core:$mockito_version"
}
createAndroidCheckstyle(project)
uploadArchives {
repositories {
mavenDeployer {
repository(url : rootProject.ext.localMavenRepo)
pom.artifactId = "runtime"
}
}
}