Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Google App Engine Java11 standard environment #2

Merged
merged 3 commits into from
Apr 15, 2020

Conversation

marctatham
Copy link
Owner

@marctatham marctatham commented Apr 14, 2020

Added & configured the Google App Engine Gradle plugin

As part of this I've also optimized the build to only build the UberJar using the shadowJar task (instead of building the standard jar with the jar task as well)

Please note:

  • The appengine set of tasks of course require some setup. Please complete the steps listed in before you begin to be able to test this
  • The Google Cloud plugin for IntelliJ is NOT required for this in any way, at this time is useful for apps running on the java8 standard environment, but not useful for apps running on the java11 standard environment.

Running ./gradlew appengineDeploy results in the following
Step-4-appengineDeploy - Reducted

This is of course accessible then via your PROJET-ID.appspot.com url which is output upon successful completion of the above gradlew command - alternatively you can find it by executing the Google Cloud CLI command gcloud app browse

 - app version updated to use dashes
   this is a google appengine requirement
 - disable the standard jar task
 - ensure that the assemble task instead builds the UberJar
@marctatham marctatham merged commit ed9137b into master Apr 15, 2020
@marctatham marctatham deleted the appengine-support branch April 15, 2020 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant