-
Notifications
You must be signed in to change notification settings - Fork 8
Using Maven Local for Testing
Fran Aguilera edited this page Aug 6, 2025
·
1 revision
- Under
/capture-sdk/platform/jvm/capture/build.gradle.kts
add version as shown below, so that you can easily identify it later (_WARNING: Do not commit these version changes)
group = "io.bitdrift"
version = "-LOCAL-SNAPSHOT" // --> Add this line
-
Navigate to
capture-sdk/platform/jvm
and run./gradlew clean publishToMavenLocal
. This will create the dependencies under~/.m2/repository/io/bitdrift/capture/-LOCAL-SNAPSHOT
-
Go to your integration project build.gradle and include
mavenLocal()
:
allprojects {
repositories {
mavenLocal() // ---> Add this one
jcenter()
maven {
url 'https://dl.bitdrift.io/sdk/android-maven'
content {
includeGroup 'io.bitdrift'
}
}
google()
}
}
- Now on your app
build.gradle
use the generated version (e.g.implementation 'io.bitdrift:capture:-LOCAL-SNAPSHOT'
)