Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Labs

Build a Java Application Using Gradle with the Google Cloud App Engine Gradle Plugin

Hey, Gurus! Welcome to the lab. In this lab, you are going to use Gradle and the Google Cloud App Engine plugin to deploy a Java `Hello` app to App Engine in Google Cloud. Let's get started.

Lab platform
Lab Info
Level
Intermediate
Last updated
Sep 17, 2025
Duration
1h 0m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Create the Gradle Java Project

    In the Google Cloud Console:

    1. Log in to the Google Cloud Console.
    2. Go to the App Engine section of the console.
    3. Go to the Cloud Shell and configure.

    In Cloud Shell:

    1. Install SDKMAN using the curl command provided.
    2. Install Java 11.
    3. Install Gradle.
    4. Create the guru_gcp project directory.
    5. Move into the guru_gcp directory.
    6. Initialize the guru_gcp directory to build the scaffolding for the project.
    7. Clone the lab GitHub repo to a directory called gradle_lab.
  2. Challenge

    Modify the Java Application

    In Cloud Shell:

    1. Move the files found in the gradle_lab/GCP directory to the guru_gcp directory.
    2. Add the src directory to your build, and add the plugin block needed for the App Engine plugin.
    3. Modify the build file and add the App Engine plugin, App Engine dependency, and add the path to your application to it.
    4. Add the project name to the HelloServlet.java file.
  3. Challenge

    Create and Deploy the HelloServlet

    In Cloud Shell:

    1. Create the App Engine Application.
    2. Deploy the application to App Engine using the deploy task.
    3. Use the gcloud command to get the URL for the app.

    In browser:

    1. Copy the URL and paste it into you browser with a trailing /hello.
    2. Confirm you get the Hello, Google App Engine! message in your browser.
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight