| apply plugin: 'com.android.library' |
| apply from: 'gradle-maven-push.gradle' |
| |
| android { |
| compileSdkVersion 25 |
| buildToolsVersion "25.0.2" |
| resourcePrefix 'lottie_' |
| |
| defaultConfig { |
| minSdkVersion 14 |
| targetSdkVersion 25 |
| |
| } |
| lintOptions { |
| abortOnError true |
| } |
| compileOptions { |
| sourceCompatibility JavaVersion.VERSION_1_7 |
| targetCompatibility JavaVersion.VERSION_1_7 |
| } |
| } |
| |
| dependencies { |
| compile 'com.android.support:appcompat-v7:25.1.1' |
| testCompile 'junit:junit:4.12' |
| testCompile "org.robolectric:robolectric:3.1.2" |
| } |
| |
| task javadoc(type: Javadoc) { |
| source = android.sourceSets.main.java.srcDirs |
| classpath += project.files(android.getBootClasspath().join(File.pathSeparator)) |
| failOnError false |
| } |