Skip to main content
Version: 6.1.1

SDK as Gradle library

Migration for versions 2.6.0 and below: for existing integrations

Step 1: Project level build.gradle

For Gradle 7+ versions

In-order to integrate Finotes in Android project, use the settings.gradle file to add the maven tag.

settings.gradle:

dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
//Finotes Maven repo link
url "https://finotescore-android.s3.amazonaws.com/release"
}

}
}

For Gradle 6 and below versions

In case you are using Gradle 6 and below versions, add the 'Maven tag with repo URL' shown below to project level build.gradle. build.gradle:

buildscript {
repositories {
}
dependencies {
classpath 'com.android.tools.build:gradle:x.x.x'
}
}
allprojects {
repositories {
jcenter()
maven {
//Finotes Maven repo link
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.

build.gradle:

releaseImplementation('com.finotes:finotescore:6.1.1@aar') {
transitive = true;
}

debugImplementation('com.finotes:finotesdebug:6.1.1@aar') {
transitive = true;
}

FinotesDebug SDK contains all features of FinotesCore plus the ability to automatically detect Object level memory leaks.