Open mobilekosmos opened 2 years ago
Do you want to open a PR for this?
Can you please add a reference link to an official resource that states the exact version since when Java 1.8 is used by default?
https://developer.android.com/studio/releases/gradle-plugin?hl=nl#java-8-default I also tried it in the past, before Gradle 7 you got a compiler error if I remember correctly if you didn't have that block in the gradle file, with Gradle 7 you don't get any error or warning when removing it.
Is this only relevant for when compiling the Parse Android SDK, or also for developers who add the SDK as a dependency?
@mtrezza it's mostly relevant for this SDK as we do not know which version the users will use. Most probably all users already uses Gradle 7 and latest Android toolchains.
New Feature / Enhancement Checklist
Following block in all build.gradle files is not needed anymore since using Gradle 7 because implicitly defined: compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }
Can be removed.