forked from loafle/openapi-generator-original
update readme with better gradle instruction (#10740)
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
Building the API client library requires:
|
Building the API client library requires:
|
||||||
1. Java {{#java8}}1.8{{/java8}}{{^java8}}1.7{{/java8}}+
|
1. Java {{#java8}}1.8{{/java8}}{{^java8}}1.7{{/java8}}+
|
||||||
2. Maven/Gradle
|
2. Maven (3.8.3+)/Gradle (7.2+)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -55,7 +55,14 @@ 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 "{{{groupId}}}:{{{artifactId}}}:{{{artifactVersion}}}"
|
repositories {
|
||||||
|
mavenCentral() // Needed if the '{{{artifactId}}}' jar has been published to maven central.
|
||||||
|
mavenLocal() // Needed if the '{{{artifactId}}}' jar has been published to the local maven repo.
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation "{{{groupId}}}:{{{artifactId}}}:{{{artifactVersion}}}"
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Others
|
### Others
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|||||||
|
|
||||||
Building the API client library requires:
|
Building the API client library requires:
|
||||||
1. Java 1.7+
|
1. Java 1.7+
|
||||||
2. Maven/Gradle
|
2. Maven (3.8.3+)/Gradle (7.2+)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -49,7 +49,14 @@ 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 "org.openapitools:petstore-okhttp-gson:1.0"
|
repositories {
|
||||||
|
mavenCentral() // Needed if the 'petstore-okhttp-gson' jar has been published to maven central.
|
||||||
|
mavenLocal() // Needed if the 'petstore-okhttp-gson' jar has been published to the local maven repo.
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation "org.openapitools:petstore-okhttp-gson:1.0"
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Others
|
### Others
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ This spec is mainly for testing Petstore server and contains fake endpoints, mod
|
|||||||
|
|
||||||
Building the API client library requires:
|
Building the API client library requires:
|
||||||
1. Java 1.7+
|
1. Java 1.7+
|
||||||
2. Maven/Gradle
|
2. Maven (3.8.3+)/Gradle (7.2+)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -49,7 +49,14 @@ 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 "org.openapitools:petstore-okhttp-gson-dynamicoperations:1.0.0"
|
repositories {
|
||||||
|
mavenCentral() // Needed if the 'petstore-okhttp-gson-dynamicoperations' jar has been published to maven central.
|
||||||
|
mavenLocal() // Needed if the 'petstore-okhttp-gson-dynamicoperations' jar has been published to the local maven repo.
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation "org.openapitools:petstore-okhttp-gson-dynamicoperations:1.0.0"
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Others
|
### Others
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ This spec is mainly for testing Petstore server and contains fake endpoints, mod
|
|||||||
|
|
||||||
Building the API client library requires:
|
Building the API client library requires:
|
||||||
1. Java 1.7+
|
1. Java 1.7+
|
||||||
2. Maven/Gradle
|
2. Maven (3.8.3+)/Gradle (7.2+)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -49,7 +49,14 @@ 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 "org.openapitools:petstore-okhttp-gson-parcelableModel:1.0.0"
|
repositories {
|
||||||
|
mavenCentral() // Needed if the 'petstore-okhttp-gson-parcelableModel' jar has been published to maven central.
|
||||||
|
mavenLocal() // Needed if the 'petstore-okhttp-gson-parcelableModel' jar has been published to the local maven repo.
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation "org.openapitools:petstore-okhttp-gson-parcelableModel:1.0.0"
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Others
|
### Others
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ This spec is mainly for testing Petstore server and contains fake endpoints, mod
|
|||||||
|
|
||||||
Building the API client library requires:
|
Building the API client library requires:
|
||||||
1. Java 1.7+
|
1. Java 1.7+
|
||||||
2. Maven/Gradle
|
2. Maven (3.8.3+)/Gradle (7.2+)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -49,7 +49,14 @@ 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 "org.openapitools:petstore-okhttp-gson:1.0.0"
|
repositories {
|
||||||
|
mavenCentral() // Needed if the 'petstore-okhttp-gson' jar has been published to maven central.
|
||||||
|
mavenLocal() // Needed if the 'petstore-okhttp-gson' jar has been published to the local maven repo.
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation "org.openapitools:petstore-okhttp-gson:1.0.0"
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Others
|
### Others
|
||||||
|
|||||||
Reference in New Issue
Block a user