xref: /aosp_15_r20/external/volley/cronet/build.gradle (revision a494ed5db247d14ea5602de4a744bb4a531fd3a7)
1*a494ed5dSAndroid Build Coastguard Workerdependencies {
2*a494ed5dSAndroid Build Coastguard Worker    implementation project(":core")
3*a494ed5dSAndroid Build Coastguard Worker    implementation "androidx.annotation:annotation:1.0.1"
4*a494ed5dSAndroid Build Coastguard Worker    compileOnly "org.chromium.net:cronet-embedded:76.3809.111"
5*a494ed5dSAndroid Build Coastguard Worker
6*a494ed5dSAndroid Build Coastguard Worker    testImplementation project(":testing")
7*a494ed5dSAndroid Build Coastguard Worker    testImplementation "org.chromium.net:cronet-embedded:76.3809.111"
8*a494ed5dSAndroid Build Coastguard Worker    testImplementation "junit:junit:4.12"
9*a494ed5dSAndroid Build Coastguard Worker    testImplementation "org.mockito:mockito-core:2.19.0"
10*a494ed5dSAndroid Build Coastguard Worker    testImplementation "org.robolectric:robolectric:3.4.2"
11*a494ed5dSAndroid Build Coastguard Worker}
12*a494ed5dSAndroid Build Coastguard Worker
13*a494ed5dSAndroid Build Coastguard Workerpublishing {
14*a494ed5dSAndroid Build Coastguard Worker    publications {
15*a494ed5dSAndroid Build Coastguard Worker        library(MavenPublication) {
16*a494ed5dSAndroid Build Coastguard Worker            artifactId 'volley-cronet'
17*a494ed5dSAndroid Build Coastguard Worker            pom {
18*a494ed5dSAndroid Build Coastguard Worker                name = 'Volley Cronet'
19*a494ed5dSAndroid Build Coastguard Worker                description = 'Cronet support for Volley.'
20*a494ed5dSAndroid Build Coastguard Worker            }
21*a494ed5dSAndroid Build Coastguard Worker            artifact "$buildDir/outputs/aar/cronet-release.aar"
22*a494ed5dSAndroid Build Coastguard Worker        }
23*a494ed5dSAndroid Build Coastguard Worker    }
24*a494ed5dSAndroid Build Coastguard Worker}
25