Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • B B4S-Android-SDK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Francois Reboursier
  • B4S-Android-SDK
  • Wiki
  • Installation with Gradle

Installation with Gradle · Changes

Page history
Added link to the app module's gradle file authored Dec 15, 2015 by Eric Kok's avatar Eric Kok
Hide whitespace changes
Inline Side-by-side
Installation-with-Gradle.md
View page @ fa1df382
......@@ -11,13 +11,13 @@ The SDK is distributed in .AAR format, which includes metadata such as definitio
allprojects {
repositories {
jcenter()
flatDir{
flatDir {
dirs 'libs'
}
}
}
```
See [the `sample-gradle` project's `build.gradle` file](https://github.com/ezeeworld/B4S-Android-SDK/blob/master/sample-gradle/build.gradle) for an example.
See [the `sample-gradle` root project's `build.gradle` file](https://github.com/ezeeworld/B4S-Android-SDK/blob/master/sample-gradle/build.gradle) for an example of this repository declration.
Next, add all the B4S dependencies and reference it's .AAR files in the main application's `app/build.gradle` file:
```groovy
......@@ -52,6 +52,7 @@ The Jackson libraries dependencies ships with duplicate license files, which can
}
}
```
See [the `sample-gradle` app module's `app/build.gradle` file](https://github.com/ezeeworld/B4S-Android-SDK/blob/master/sample-gradle/app/build.gradle) for an example, including all the dependencies.
Finally, **copy the `b4s-android-sdk.aar`** and the **`b4s-android-sdk-playservicesXXX.aar`** version of your choice from the [`/sdk/aar` release folder](https://github.com/ezeeworld/B4S-Android-SDK/tree/master/sdk/aar) to your `app/libs` directory.
......
Clone repository
  • Home
  • Installation with Eclipse Ant
  • Installation with Gradle
  • Integration guide
  • Migration guide