1apply plugin: 'com.android.library' 2 3group = 'com.davemorrissey.labs' 4archivesBaseName = 'subsampling-scale-image-view' 5version = '3.9.0' 6 7android { 8 compileSdkVersion 27 9 10 defaultConfig { 11 consumerProguardFiles 'proguard-rules.txt' 12 } 13} 14 15configurations { 16 javadocs 17} 18 19dependencies { 20 javadocs 'com.android.support:support-annotations:27.0.2' 21 javadocs 'com.android.support:exifinterface:27.0.2' 22 implementation 'com.android.support:support-annotations:27.0.2' 23 implementation 'com.android.support:exifinterface:27.0.2' 24} 25 26task javadoc(type: Javadoc) { 27 failOnError false 28 source = android.sourceSets.main.java.sourceFiles 29 destinationDir = rootProject.file("docs/javadoc") 30 classpath += project.files(android.getBootClasspath().join(File.pathSeparator)) 31 classpath += configurations.compile 32 classpath += configurations.javadocs 33 options.noTimestamp = true 34 options.links = ['https://developer.android.com/reference/'] 35} 36 37apply from: rootProject.file('release.gradle') 38