telenordigital / connect-android-sdk

Android SDK for CONNECT ID
https://telenordigital.github.io/id-docs.telenordigital.com/
Other
16 stars 14 forks source link

Missing lib download from gradle #37

Closed infinityzero closed 8 years ago

infinityzero commented 8 years ago

Is there any plan to add this lib in our project via gradle?

jorunfa commented 8 years ago

Hi.

Is the question if we're planning to make the Android Connect SDK addable as a dependency in Gradle?

The answer to that question is yes.

I am currently working to make the project accessible from a central repository, so that you can add the SDK by adding one or two lines to your Gradle script. I'll update the readme and let you know when that is available.

In the meantime you can add it to Gradle the following way

  1. Download the project using git: (git clone git@github.com:telenordigital/connect-android-sdk.git)
  2. Import the module to your project image image image
  3. Add the project to your build.gradle:
compile project(path: ':connect')

image

  1. You can then set the version of the Android Connect SDK using Git:
cd connect-android-sdk
git checkout v0.5.0
infinityzero commented 8 years ago

Yes, addable as a dependency in Gradle.

jorunfa commented 8 years ago

You can now add the Sdk by adding one line:

dependencies {
    // ...
    compile 'com.telenor.connect:connect-android-sdk:0.5.0' // add this line
}

See the readme for more information. Future versions will also be published in this manner.