diff --git a/modules/swagger-codegen/src/main/resources/android/libraries/volley/build.mustache b/modules/swagger-codegen/src/main/resources/android/libraries/volley/build.mustache index ed1e7f7efcf..ec599632fd8 100644 --- a/modules/swagger-codegen/src/main/resources/android/libraries/volley/build.mustache +++ b/modules/swagger-codegen/src/main/resources/android/libraries/volley/build.mustache @@ -56,6 +56,7 @@ ext { swagger_annotations_version = "1.5.0" gson_version = "2.3.1" httpclient_version = "4.3.3" + volley_version = "1.0.19" junit_version = "4.8.1" } @@ -64,6 +65,7 @@ dependencies { compile "com.google.code.gson:gson:$gson_version" compile "org.apache.httpcomponents:httpcore:$httpclient_version" compile "org.apache.httpcomponents:httpmime:$httpclient_version" + compile "com.mcxiaoke.volley:library:${volley_version}@aar" testCompile "junit:junit:$junit_version" } diff --git a/samples/client/petstore/android/volley/build.gradle b/samples/client/petstore/android/volley/build.gradle index 581f89479ac..eab8603b5e6 100644 --- a/samples/client/petstore/android/volley/build.gradle +++ b/samples/client/petstore/android/volley/build.gradle @@ -52,6 +52,7 @@ ext { swagger_annotations_version = "1.5.0" gson_version = "2.3.1" httpclient_version = "4.3.3" + volley_version = "1.0.19" junit_version = "4.8.1" } @@ -60,6 +61,7 @@ dependencies { compile "com.google.code.gson:gson:$gson_version" compile "org.apache.httpcomponents:httpcore:$httpclient_version" compile "org.apache.httpcomponents:httpmime:$httpclient_version" + compile "com.mcxiaoke.volley:library:${volley_version}@aar" testCompile "junit:junit:$junit_version" }