Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagegroovy
android {
	compileOptions {
	    // Flag to enable support for the new language APIs
        coreLibraryDesugaringEnabled true
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

dependencies {
    coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
	implementation 'com.navmii.android:dashcam-sdk:1.2.0-1382.178'
}

If you want to always use the latest version of the SDK, you can specify a dynamic version instead of a fixed one. For example:

...