mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 19:33:55 +00:00
Merge pull request #2876 from wing328/fix_android_pom
[Android] update android volley dependencies, add source and target in pom.xml
This commit is contained in:
commit
a9fd820a27
@ -37,11 +37,24 @@
|
|||||||
<version>${android-platform-version}</version>
|
<version>${android-platform-version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<version>3.5.1</version>
|
||||||
|
<configuration>
|
||||||
|
<source>1.6</source>
|
||||||
|
<target>1.6</target>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
<properties>
|
<properties>
|
||||||
<swagger-annotations-version>1.5.0</swagger-annotations-version>
|
<swagger-annotations-version>1.5.8</swagger-annotations-version>
|
||||||
<httpcomponents-httpcore-version>4.4.4</httpcomponents-httpcore-version>
|
<httpcomponents-httpcore-version>4.4.4</httpcomponents-httpcore-version>
|
||||||
<httpcomponents-httpmime-version>4.5.2</httpcomponents-httpmime-version>
|
<httpcomponents-httpmime-version>4.5.2</httpcomponents-httpmime-version>
|
||||||
<google-code-gson-version>2.3.1</google-code-gson-version>
|
<google-code-gson-version>2.6.2</google-code-gson-version>
|
||||||
<volley-library-version>1.0.19</volley-library-version>
|
<volley-library-version>1.0.19</volley-library-version>
|
||||||
<android-platform-version>4.1.1.4</android-platform-version>
|
<android-platform-version>4.1.1.4</android-platform-version>
|
||||||
</properties>
|
</properties>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# swagger-petstore-android-volley
|
# swagger-android-client
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ Add this dependency to your project's POM:
|
|||||||
```xml
|
```xml
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.swagger</groupId>
|
<groupId>io.swagger</groupId>
|
||||||
<artifactId>swagger-petstore-android-volley</artifactId>
|
<artifactId>swagger-android-client</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
@ -38,7 +38,7 @@ Add this dependency to your project's POM:
|
|||||||
Add this dependency to your project's build file:
|
Add this dependency to your project's build file:
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
compile "io.swagger:swagger-petstore-android-volley:1.0.0"
|
compile "io.swagger:swagger-android-client:1.0.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Others
|
### Others
|
||||||
@ -49,7 +49,7 @@ At first generate the JAR by executing:
|
|||||||
|
|
||||||
Then manually install the following JARs:
|
Then manually install the following JARs:
|
||||||
|
|
||||||
* target/swagger-petstore-android-volley-1.0.0.jar
|
* target/swagger-android-client-1.0.0.jar
|
||||||
* target/lib/*.jar
|
* target/lib/*.jar
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>io.swagger</groupId>
|
<groupId>io.swagger</groupId>
|
||||||
<artifactId>swagger-petstore-android-volley</artifactId>
|
<artifactId>swagger-android-client</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -37,11 +37,24 @@
|
|||||||
<version>${android-platform-version}</version>
|
<version>${android-platform-version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<version>3.5.1</version>
|
||||||
|
<configuration>
|
||||||
|
<source>1.6</source>
|
||||||
|
<target>1.6</target>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
<properties>
|
<properties>
|
||||||
<swagger-annotations-version>1.5.0</swagger-annotations-version>
|
<swagger-annotations-version>1.5.8</swagger-annotations-version>
|
||||||
<httpcomponents-httpcore-version>4.4.4</httpcomponents-httpcore-version>
|
<httpcomponents-httpcore-version>4.4.4</httpcomponents-httpcore-version>
|
||||||
<httpcomponents-httpmime-version>4.5.2</httpcomponents-httpmime-version>
|
<httpcomponents-httpmime-version>4.5.2</httpcomponents-httpmime-version>
|
||||||
<google-code-gson-version>2.3.1</google-code-gson-version>
|
<google-code-gson-version>2.6.2</google-code-gson-version>
|
||||||
<volley-library-version>1.0.19</volley-library-version>
|
<volley-library-version>1.0.19</volley-library-version>
|
||||||
<android-platform-version>4.1.1.4</android-platform-version>
|
<android-platform-version>4.1.1.4</android-platform-version>
|
||||||
</properties>
|
</properties>
|
||||||
|
Loading…
Reference in New Issue
Block a user