Browse Source

gradle: set the coreLibraryDesugaringEnabled with =

The old way is marked as deprecated.

> Properties should be assigned using the 'propName = value' syntax. Setting a
> property via the Gradle-generated 'propName value' or 'propName(value)'
> syntax in Groovy DSL has been deprecated.
merge-requests/2174/merge
Steve Lhomme 1 year ago
committed by Duncan McNamara
parent
commit
9046a3282c
  1. 2
      application/app/build.gradle
  2. 2
      application/remote-access-server/build.gradle

2
application/app/build.gradle

@ -5,7 +5,7 @@ plugins {
android {
compileOptions {
coreLibraryDesugaringEnabled true
coreLibraryDesugaringEnabled = true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

2
application/remote-access-server/build.gradle

@ -47,7 +47,7 @@ android {
}
compileOptions {
coreLibraryDesugaringEnabled true
coreLibraryDesugaringEnabled = true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

Loading…
Cancel
Save