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. 

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.31'
   implementation 'com.idscan.ieos:mjcs:8.4.0'
   // Select your profile
   implementation 'com.idscan.ides:default-gbr-profile:1.16.1'
 }

Was this page helpful?