Can I use Java 8 with CodeWorks 1R8?

What I want

I wanna change Java language level on my project, from 7 to 8.

Why

  • Lambda syntax since Java 8 is useful for creating handlers.
  • androidx.browser:browser:1.2.0 is dependent on Java 8.

What I’ve tried

  1. I modified compileOptions in gradle file as described in android studio guide
    • Gradle: Jack is required to support java 8 language features. Either enable Jack or remove sourceCompatibility JavaVersion.VERSION_1_8.
  2. I activated Jack as described in this answer
    • Gradle:Minifying the variant used for tests is not supported when using Jack.
  3. I disabled minifyEnabled settings.
    • Gradle: Cannot load Jill from build tools.
  4. From previous version of android build tools, I copied jack.jar, jill.jar and jack-*.jar
    • Gradle: Cannot load Jill from build tools.