On This Page

{#jumplink-list}  
[Markdown](/content/cybsdeveloper2021/amer/en/docs/barclays/en-us/payer-authentication/developer/all/rest/payer-auth/pa-sdk-intro/pa-sdk-android-intro/pa-sdk-android-update-gradle-build.md)

Updating the Gradle Build Properties {#reference_lrk_l5d_xpb}
=============================================================

In Android Studio, open the app directory (which can also be labeled Module: app) and open the *build.gradle* file. Edit the Gradle file located in the app directory. Add the contents shown in the example below to the Gradle file.

```
repositories {
   ...
   maven {
           url  "https://cardinalcommerceprod.jfrog.io/artifactory/android"
           credentials {
                   username Artifactory username
                   password Artifactory user API Key
            }
    }
}
dependencies {
    ...
    //Cardinal Mobile SDK
    implementation 2.5-1
}                
        
```

If your project uses Progurad, add the lines shown below to the *proguard-rules.pro* file.

```
-keep class com.cardinalcommerce.dependencies.internal.bouncycastle.**
-keep class com.cardinalcommerce.dependencies.internal.nimbusds.**
    
```

RELATED TO THIS PAGE

* <>

