Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

fix(android): Maintain java 7 support#174

Merged
thomasvidas merged 1 commit intocapacitor-community:masterfrom
emily-curry:java7-compat
Nov 9, 2021
Merged

fix(android): Maintain java 7 support#174
thomasvidas merged 1 commit intocapacitor-community:masterfrom
emily-curry:java7-compat

Conversation

@emily-curry
Copy link
Contributor

This is a non-functional change (😬) that refactors the use of lambdas in the android project to instead be anonymous class instances.

An alternative may be adding the following to the android block of the build.gradle:

compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
}

Which would declare java 8 is required, and may have fixed the build issues I was encountering in my CI system, but this was the more straightforward approach.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants