Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2D9D3200D37 for ; Thu, 9 Nov 2017 15:23:41 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2C4E9160BEF; Thu, 9 Nov 2017 14:23:41 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6A3BF1609E5 for ; Thu, 9 Nov 2017 15:23:40 +0100 (CET) Received: (qmail 12777 invoked by uid 500); 9 Nov 2017 14:23:39 -0000 Mailing-List: contact notifications-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list notifications@groovy.apache.org Received: (qmail 12768 invoked by uid 99); 9 Nov 2017 14:23:39 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2017 14:23:39 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7DDBADFB3D; Thu, 9 Nov 2017 14:23:39 +0000 (UTC) From: AndrewReitz To: notifications@groovy.apache.org Reply-To: notifications@groovy.apache.org References: In-Reply-To: Subject: [GitHub] groovy pull request #631: Android: Remove Invoke Dynamic Call Content-Type: text/plain Message-Id: <20171109142339.7DDBADFB3D@git1-us-west.apache.org> Date: Thu, 9 Nov 2017 14:23:39 +0000 (UTC) archived-at: Thu, 09 Nov 2017 14:23:41 -0000 Github user AndrewReitz commented on a diff in the pull request: https://github.com/apache/groovy/pull/631#discussion_r149974307 --- Diff: 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' --- End diff -- What do you think about having two android jars one without classes that use invoke dynamic and one with them still? It looks like Android will be supporting it on ap's 26+. The issue is that Google added a check for classes using the invoke-polymorphic. Little more info here. https://issuetracker.google.com/issues/37567710 I am able to use proguard to remove the classes that cause the failure, but it increases build times greatly. ---