SDK as Gradle library
Migration for versions 2.6.0 and below: for existing integrations
Step 1: Project level build.gradle
In-order to integrate Finotes in Android project, use the settings.gradle file to add the maven tag.
- Groovy based settings.gradle
- Kotlin based settings.gradle.kts
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
//Finotes Maven repo link
url "https://finotescore-android.s3.amazonaws.com/release"
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven(url = "https://finotescore-android.s3.amazonaws.com/release")
}
}
Step 2: App level build.gradle
Add the following code block in app level build.gradle within the dependencies section.
- Groovy based build.gradle
- Kotlin based build.gradle.kts
releaseImplementation('com.finotes:finotescore:x.x.x@aar') {
transitive = true;
}
debugImplementation('com.finotes:finotesdebug:x.x.x@aar') {
transitive = true;
}
releaseImplementation("com.finotes:finotescore:x.x.x@aar") {
isTransitive = true
}
debugImplementation("com.finotes:finotesdebug:x.x.x@aar") {
isTransitive = true
}
FinotesDebug SDK contains all features of FinotesCore plus the ability to automatically detect Object level memory leaks.