xref: /aosp_15_r20/external/conscrypt/libcore-stub/build.gradle (revision cd0cc2e34ba52cdf454361820a14d744e4bd531d)
1*cd0cc2e3SAndroid Build Coastguard Workerdescription = 'Conscrypt: libcore Stub'
2*cd0cc2e3SAndroid Build Coastguard Worker
3*cd0cc2e3SAndroid Build Coastguard Workerconfigurations {
4*cd0cc2e3SAndroid Build Coastguard Worker    publicApiDocs
5*cd0cc2e3SAndroid Build Coastguard Worker}
6*cd0cc2e3SAndroid Build Coastguard Worker
7*cd0cc2e3SAndroid Build Coastguard Workerdependencies {
8*cd0cc2e3SAndroid Build Coastguard Worker    // This is used for the @Internal annotation processing in JavaDoc
9*cd0cc2e3SAndroid Build Coastguard Worker    publicApiDocs project(':conscrypt-api-doclet')
10*cd0cc2e3SAndroid Build Coastguard Worker
11*cd0cc2e3SAndroid Build Coastguard Worker    // Only compile against this. Other modules will embed the generated code directly.
12*cd0cc2e3SAndroid Build Coastguard Worker    compileOnly project(':conscrypt-constants')
13*cd0cc2e3SAndroid Build Coastguard Worker
14*cd0cc2e3SAndroid Build Coastguard Worker    testImplementation libs.junit
15*cd0cc2e3SAndroid Build Coastguard Worker}
16*cd0cc2e3SAndroid Build Coastguard Worker
17*cd0cc2e3SAndroid Build Coastguard Worker// Disable the javadoc task.
18*cd0cc2e3SAndroid Build Coastguard Workertasks.withType(Javadoc).configureEach { enabled = false }
19