9db2456118
* Create Jackson string parser * Create Jackson BufferedSource parser * Create Jackson Reader parser
55 lines
1.2 KiB
Groovy
55 lines
1.2 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'com.getkeepsafe.dexcount'
|
|
|
|
group = GROUP
|
|
version = VERSION_NAME
|
|
|
|
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 true
|
|
disable 'InvalidPackage'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile project(path: ':store')
|
|
compile libraries.jacksonCore
|
|
compile libraries.jacksonDatabind
|
|
compile libraries.rxJava
|
|
compile libraries.okio
|
|
compile libraries.dagger
|
|
compile libraries.supportAnnotations
|
|
testCompile libraries.mockito
|
|
testCompile libraries.junit
|
|
}
|
|
|
|
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")
|