This library will increase your code reusability
To setup your project for desugaring, you need to first ensure that you are using Android Gradle plugin 4.0.0 or higher.
Then add the JitPack repository to your project level build.gradle
:
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
}
Add BaseClasses library to your app build.gradle
:
dependencies {
implementation 'com.github.emre-kocaman:BaseClasses:<latest-version-here>'
}
You can find the latest version of BaseClasses
on the JitPack badge above the preview images.