Skip to content

Commit

Permalink
removed gradle wrapper and updated the README to use gradle instead
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoehler committed May 31, 2017
1 parent 68b1cc5 commit 56d86e0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 263 deletions.
12 changes: 5 additions & 7 deletions appengine/endpoints-frameworks-v2/backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,26 +90,24 @@ your project ID.

### Building the sample project

To build the project on unix-based systems:
To build the project use:

./gradlew build

Note for windows user: Use `gradlew.bat` instead of `./gradlew`
gradle build

<details>
<summary>more details</summary>
The project contains the standard java and war plugins and in addition to that it contains the following plugins:
https://github.com/GoogleCloudPlatform/endpoints-framework-gradle-plugin for the endpoint related tasks and
https://github.com/GoogleCloudPlatform/app-gradle-plugin for the appengine standard related tasks.

Check the links for details about the available Plugin Goals and Parameters.
</details>

### Generating the openapi.json file

To generate the required configuration file `openapi.json`:

./gradlew endpointsOpenApiDocs
gradle endpointsOpenApiDocs

This results in a file in build/endpointsOpenApiDocs/openapi.json

Expand All @@ -123,7 +121,7 @@ To deploy the sample API:

0. Deploy the API implementation code by invoking:

./gradlew appengineDeploy
gradle appengineDeploy

The first time you upload a sample app, you may be prompted to authorize the
deployment. Follow the prompts: when you are presented with a browser window
Expand Down
Binary file not shown.

This file was deleted.

160 changes: 0 additions & 160 deletions appengine/endpoints-frameworks-v2/backend/gradlew

This file was deleted.

90 changes: 0 additions & 90 deletions appengine/endpoints-frameworks-v2/backend/gradlew.bat

This file was deleted.

0 comments on commit 56d86e0

Please sign in to comment.