Skip to main content
Version: legacy

Gradle List

Project Level - Gradle Dependecies

buildscript {
ext.kotlin_version = '1.4.32'
ext.appCenterSdkVersion = '3.3.0'
repositories {
google()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath 'com.google.gms:google-services:4.3.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
}
}

allprojects {
repositories {
google()
jcenter()
maven { url 'https://www.jitpack.io' }
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}

Note:

JioSdk Library

While generating AAR, you can not add another AAR as a dependency. Note that if you do this you will have to include the aar dependencies on the application project that consumes your library. Alternatively, you can create a module that imports your aar dependency Another way is to publish your aar dependencies to a maven repository and then add them to your library project. Or you can use this as an alternative but not recommended compileOnly files('libs/yourAARfile.aar')