aboutsummaryrefslogtreecommitdiff
path: root/core/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'core/build.gradle')
-rw-r--r--core/build.gradle28
1 files changed, 28 insertions, 0 deletions
diff --git a/core/build.gradle b/core/build.gradle
new file mode 100644
index 0000000..812968c
--- /dev/null
+++ b/core/build.gradle
@@ -0,0 +1,28 @@
+android {
+ defaultConfig {
+ consumerProguardFiles 'consumer-proguard-rules.pro'
+ }
+}
+
+dependencies {
+ implementation "androidx.annotation:annotation:1.0.1"
+
+ testImplementation project(":testing")
+ testImplementation "junit:junit:4.12"
+ testImplementation "org.hamcrest:hamcrest-library:1.3"
+ testImplementation "org.mockito:mockito-core:2.19.0"
+ testImplementation "org.robolectric:robolectric:3.4.2"
+}
+
+publishing {
+ publications {
+ library(MavenPublication) {
+ artifactId 'volley'
+ pom {
+ name = 'Volley'
+ description = 'An HTTP library that makes networking for Android apps easier and, most importantly, faster.'
+ }
+ artifact "$buildDir/outputs/aar/core-release.aar"
+ }
+ }
+}