1description = 'Conscrypt: libcore Stub' 2 3configurations { 4 publicApiDocs 5} 6 7dependencies { 8 // This is used for the @Internal annotation processing in JavaDoc 9 publicApiDocs project(':conscrypt-api-doclet') 10 11 // Only compile against this. Other modules will embed the generated code directly. 12 compileOnly project(':conscrypt-constants'), 13 configurations.publicApiDocs 14 15 compile libraries.junit 16} 17 18javadoc { 19 options.doclet = "org.conscrypt.doclet.FilterDoclet" 20 options.docletpath = configurations.publicApiDocs.files as List 21} 22 23// Don't include this artifact in the distribution. 24tasks.install.enabled = false 25tasks.uploadArchives.enabled = false; 26