项目作者: DasserBasyouni
项目描述 :
An app with multiple flavors that uses multiple libraries and Google Cloud Endpoints.
高级语言: Java
项目地址: git://github.com/DasserBasyouni/JokesMultiModule.git
Jokes Multi-Module

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
- Install the Cloud SDK
- 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. - Start or stop your local server by using the gradle tasks as shown in the following screenshot

- Once your local GCE server is started you should see the following at
localhost:8080