Quick Start: Build and Run with Gradle
devTo build and run the included sample application using Gradle, follow these steps:
- Clone the repository.
- Set up an emulator with SDK 23.
- Navigate to the root folder of the cloned repository.
- Connect your test device and run:
./gradlew :userappwithbroker:installDebug - The app 'Fancy ADAL Test App' will be installed.
- Open the app, select an authority, and click
Acquire Tokento test authentication.
Note: Configuration values like authority, clientId, redirectUri, and resource are defined in userappwithbroker/src/main/java/com/microsoft/aad/adal/example/userappwithbroker/Constants.java.
./gradlew :userappwithbroker:installDebug