1android { 2 defaultConfig { 3 consumerProguardFiles 'consumer-proguard-rules.pro' 4 } 5} 6 7dependencies { 8 implementation "androidx.annotation:annotation:1.0.1" 9 10 testImplementation project(":testing") 11 testImplementation "junit:junit:4.12" 12 testImplementation "org.hamcrest:hamcrest-library:1.3" 13 testImplementation "org.mockito:mockito-core:2.19.0" 14 testImplementation "org.robolectric:robolectric:3.4.2" 15} 16 17publishing { 18 publications { 19 library(MavenPublication) { 20 artifactId 'volley' 21 pom { 22 name = 'Volley' 23 description = 'An HTTP library that makes networking for Android apps easier and, most importantly, faster.' 24 } 25 artifact "$buildDir/outputs/aar/core-release.aar" 26 } 27 } 28} 29