Skip to content

An app with multiple flavors that uses multiple libraries and Google Cloud Endpoints.

Notifications You must be signed in to change notification settings

DasserBasyouni/JokesMultiModule

Repository files navigation

Jokes Multi-Module

Codacy Badge

An app with multiple flavors that uses multiple libraries and Google Cloud Endpoints to show jokes.

Screenshots

What I have learnt from

  • Migrating to AndroidX
  • Add free and paid flavors to an app, and set up your build to share code between them
  • Factor reusable functionality into a Java library
  • Factor reusable Android functionality into an Android library
  • Configure a multi project build to compile your libraries and app
  • Use the Gradle App Engine plugin to deploy a backend
  • Configure an integration test suite that runs against the local App Engine development server

How does it work

Test it on emultors or you will have to change the emulator IP in EndpointsAsyncTask.class line 36

  1. Install the Cloud SDK
  2. Follow the instructions in the Setup Cloud SDK section
    Note: You do not need to follow the rest of steps in the migration guide, only the Setup Cloud SDK.
  3. Start or stop your local server by using the gradle tasks as shown in the following screenshot

4. Once your local GCE server is started you should see the following at

localhost:8080

About

An app with multiple flavors that uses multiple libraries and Google Cloud Endpoints.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published