1 description = 'Conscrypt: libcore Stub' 2 3 configurations { 4 publicApiDocs 5 } 6 7 dependencies { 8 // This is used for the @hide 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 18 javadoc { 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. 24 tasks.install.enabled = false 25 tasks.uploadArchives.enabled = false; 26