Store/middleware/build.gradle
digitalbuddha 9badd11494 initial
2017-01-04 14:17:53 -05:00

56 lines
1.1 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 false
disable 'InvalidPackage'
}
}
dependencies {
compile project(path: ':store')
compile libraries.rxJava
compile libraries.dagger
compile libraries.okio
compile libraries.gson
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")