aboutsummaryrefslogtreecommitdiff
path: root/cronet/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'cronet/build.gradle')
-rw-r--r--cronet/build.gradle24
1 files changed, 24 insertions, 0 deletions
diff --git a/cronet/build.gradle b/cronet/build.gradle
new file mode 100644
index 0000000..5ee53d6
--- /dev/null
+++ b/cronet/build.gradle
@@ -0,0 +1,24 @@
+dependencies {
+ implementation project(":core")
+ implementation "androidx.annotation:annotation:1.0.1"
+ compileOnly "org.chromium.net:cronet-embedded:76.3809.111"
+
+ testImplementation project(":testing")
+ testImplementation "org.chromium.net:cronet-embedded:76.3809.111"
+ testImplementation "junit:junit:4.12"
+ testImplementation "org.mockito:mockito-core:2.19.0"
+ testImplementation "org.robolectric:robolectric:3.4.2"
+}
+
+publishing {
+ publications {
+ library(MavenPublication) {
+ artifactId 'volley-cronet'
+ pom {
+ name = 'Volley Cronet'
+ description = 'Cronet support for Volley.'
+ }
+ artifact "$buildDir/outputs/aar/cronet-release.aar"
+ }
+ }
+}