Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8366

InvokeDynamic Classes Not Compatible with Android Compiler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • None
    • None
    • Android
    • None
    • Android with minSdk < 26 using plugin 3.0.0

    Description

      Looks like in the newest Android Gradle Plugin 3.0.0 is supporting invoke dynamic on Android versions < 26. There is now a check on versions using minSdk < 26 that causes the build to fail when the grooid jar is on the classpath

      More Details: https://github.com/groovy/groovy-android-gradle-plugin/issues/145

      Possible Solution: Create two jars for Android one with these classes removed and one with the classes still included. Should be pretty easy to do in the assembly.gradle and could possibly an opportunity to change the name of grooid to something else.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              areitz Andrew Reitz
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: