48 lines
No EOL
1,014 B
Groovy
48 lines
No EOL
1,014 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'me.tatarka.retrolambda'
|
|
apply plugin: 'com.neenbedankt.android-apt'
|
|
|
|
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'
|
|
}
|
|
}
|
|
|
|
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")
|
|
|
|
dependencies {
|
|
compile libraries.supportAnnotations
|
|
} |