blob: 3d4d2d15ab5dd3572b156ac6135039ef9044b897 [file] [log] [blame]
apply plugin: 'com.android.library'
apply from: 'gradle-maven-push.gradle'
android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
resourcePrefix 'lottie_'
defaultConfig {
minSdkVersion 14
targetSdkVersion 26
versionCode 100
versionName "2.3.1-SNAPSHOT"
}
lintOptions {
abortOnError true
textReport true
textOutput 'stdout'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
dependencies {
compile "com.android.support:appcompat-v7:$supportLibVersion"
testCompile 'junit:junit:4.12'
testCompile "org.robolectric:robolectric:3.4.2"
}
task javadoc(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
failOnError false
}