Successful debug and build
> Task :@mauron85_react-native-background-geolocation-common:compileDebugJavaWithJavac FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings
16 actionable tasks: 14 executed, 2 up-to-date
error: Source option 6 is no longer supported. Use 7 or later.
error: Target option 6 is no longer supported. Use 7 or later.
FAILURE: Build failed with an exception.
is support 0.60 autolink ?
Getting the same error. Did you manage to fix it? @sefatunckanat
@sefatunckanat by removing these compile options from react-native-background-geolocation-common build gradle solved my issue. See photo here
@sefatunckanat by removing these compile options from
react-native-background-geolocation-common build gradlesolved my issue. See photo here
waoh !! thanks for help
node_modules/@mauron85/react-native-background-geolocation/android/common/build.gradle
delete line 117 & 118 @Baivaras
compileOptions {
// sourceCompatibility JavaVersion.VERSION_1_6
// targetCompatibility JavaVersion.VERSION_1_6
}
I don't think there is a permanent solution yet.
This need to be addressed
@mauron85 I added a PR in your Common repo for this.
FYI: sourceCompatibility was removed in recent commits.
Most helpful comment
This need to be addressed