material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

material:1.1.0-alpha08 update request desugaring

Open GuanacoDevs opened this issue 7 years ago • 1 comments

Hi

When trying to update alpha07 to alpha08, the build breaks asking to enable desugaring. I had it in place because of Twitter Kit, but that broke my app in production, had to downgrade Twitter Kit to 3.1.1. Was planning to remove Twitter from my app, but now Material design?

I even updated my androix dependencies to alpha and beta as listed here as mentioned in #405 Any workaround other than remaining in alpha07?

GuanacoDevs avatar Jul 11 '19 12:07 GuanacoDevs

Hi @GuanacoDevs, thanks for reporting. We will actually be reverting back to Java 7 in 1.1.0-alpha09, likely coming within the next few weeks. For now I recommend staying with 1.1.0-alpha07 if you can't update your app to compile with Java 8 via:

android {
  ...
  compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
  }
}

https://developer.android.com/studio/write/java8-support

dsn5ft avatar Jul 11 '19 18:07 dsn5ft