Permalink
42 lines (31 sloc) 1.04 KB
apply plugin: 'com.android.library'
android {
compileSdkVersion versions.compileSdk
defaultConfig {
minSdkVersion versions.minSdk
consumerProguardFiles 'proguard-rules.txt'
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
textReport true
textOutput 'stdout'
// We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks.
checkReleaseBuilds false
}
// TODO replace with https://issuetracker.google.com/issues/72050365 once released.
libraryVariants.all {
it.generateBuildConfig.enabled = false
}
}
dependencies {
api project(':butterknife-runtime')
androidTestImplementation deps.junit
androidTestImplementation deps.truth
androidTestImplementation deps.support.test.runner
androidTestAnnotationProcessor project(':butterknife-compiler')
}
apply from: rootProject.file('gradle/gradle-mvn-push.gradle')