Store/store/build.gradle
Brian Plummer 382c00dbfb start of pmd inclusion (#50)
* start of pmd inclusion

* fix all pmd violations

* fail on pmd

* fail on pmd

* fail on pmd
2017-01-11 15:11:41 -05:00

60 lines
1.3 KiB
Groovy

apply plugin: 'com.android.library'
apply plugin: 'com.getkeepsafe.dexcount'
group = GROUP
version = VERSION_NAME
sourceCompatibility = 1.7
targetCompatibility = 1.7
android {
compileSdkVersion versions.compileSdk
buildToolsVersion versions.buildTools
defaultConfig {
minSdkVersion versions.minSdk
targetSdkVersion versions.targetSdk
}
buildTypes {
debug {
minifyEnabled false
zipAlignEnabled false
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
lintOptions {
abortOnError false
disable 'InvalidPackage'
}
}
dependencies {
compile project(path: ':cache')
compile libraries.rxJava
compile libraries.supportAnnotations
testCompile libraries.mockito
testCompile libraries.assertJ
testCompile libraries.junit
testCompile libraries.robolectric
}
task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
}
artifacts {
archives sourcesJar
}
apply from: rootProject.file("gradle/maven-push.gradle")
apply from: rootProject.file("gradle/checkstyle.gradle")
apply from: rootProject.file("gradle/pmd.gradle")