Adding the MJCS API Dependency – GBG IDscan Documentation

Adding the MJCS API Dependency

From 8.1.0 version onwards, we only support the maven dependency approach. 

Note: Please contact your technical account manager in order to obtain credentials for our protected maven repository

Firstly, we need to add a link to the GBG IDscan maven repository in the project “gradle.build”.

allprojects {
    repositories {
        jcenter()
        google()
        maven {
            url "s3://maven-mobile-repo/releases"
            credentials(AwsCredentials) {
 
                // Other option is to change in “gradle.properties” file
                accessKey awsAccessKey // Replace with your key
                secretKey awsSecretKey // Replace with your secret key.
            }
        }
    }
}

There are required dependencies that should be added to your project first.

dependencies {
 
  implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.61'
  implementation 'com.idscan.ieos:mjcs:X.X.X'
  // Select your profile
  implementation 'com.idscan.ides:default-FULL-profile:XXXX'
}

Exact SDK versions should be provided by your Technical Account Manager.

Was this page helpful?