From 50b157f467831cda37169a363617880da9aa1d17 Mon Sep 17 00:00:00 2001 From: Andrew Reitz Date: Wed, 8 Nov 2017 14:29:18 -0600 Subject: [PATCH] Android: Remove Invoke Dynamic Call Uses jarjar to remove org.codehaus.groovy.vmplugin.v7.IndyInterface which has a invoke dynamic call. This call causes android compilation to fail when targeting sdk level 26 or above but the minSdk is less than 26. Fixes: GROOVY-8366 --- gradle/assemble.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/gradle/assemble.gradle b/gradle/assemble.gradle index c8419f97a9c..5f5f854f921 100644 --- a/gradle/assemble.gradle +++ b/gradle/assemble.gradle @@ -247,6 +247,7 @@ allprojects { if (isRootProject) { zipfileset(src: rootProject.configurations.runtime.files.find { it.name.startsWith('openbeans') }, excludes: 'META-INF/*') } + zap pattern: 'org.codehaus.groovy.vmplugin.v7.IndyInterface' rule pattern: 'com.googlecode.openbeans.**', result: 'groovyjarjaropenbeans.@1' rule pattern: 'org.apache.harmony.beans.**', result: 'groovyjarjarharmonybeans.@1' rule pattern: 'java.beans.**', result: 'groovyjarjaropenbeans.@1'