Skip to content

Importing Library From Github Packages

JongChern edited this page May 23, 2025 · 1 revision

Configure your repositories to include the following:-

maven {
         name = "GitHubPackages"
         url = uri(https://maven.pkg.github.com/ShimmerEngineering/ShimmerAndroidAPI)
         credentials {
             username = "yourusername"
             password = "yourpwd"
         }
     }
maven {
         name = "GitHubPackages"
         url = uri(https://maven.pkg.github.com/ShimmerEngineering/Shimmer-Java-Android-API)
         credentials {
             username = "yourusername"
             password = "yourpwd"
         }
     }

Import the libraries as such.

implementation (group: 'com.shimmerresearch', name: 'shimmerbluetoothmanager', version:'0.11.3_beta'){

    // excluding org.json which is provided by Android
    exclude group: 'io.netty'
    exclude group: 'com.google.protobuf'
    exclude group: 'org.apache.commons.math'
}

implementation (group: 'com.shimmerresearch', name: 'shimmerdriver', version:'0.11.3_beta'){

    // excluding org.json which is provided by Android
    exclude group: 'io.netty'
    exclude group: 'com.google.protobuf'
}
implementation(group: 'com.shimmerresearch', name: 'shimmerandroidinstrumentdriver', version: '3.2.2_beta', ext: 'aar')

Clone this wiki locally