From 97c65ea1493cbd2378eb35932c3bce2481373c99 Mon Sep 17 00:00:00 2001 From: Steve Hannah Date: Sat, 18 Nov 2023 08:50:07 -0800 Subject: [PATCH] fix: add new line after facebook proguard rules in android builds If facebook is used and also google play, then the proguard rules may be corrupted because of the missing new line after the facebook rules. --- .../main/java/com/codename1/builders/AndroidGradleBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven/codenameone-maven-plugin/src/main/java/com/codename1/builders/AndroidGradleBuilder.java b/maven/codenameone-maven-plugin/src/main/java/com/codename1/builders/AndroidGradleBuilder.java index 8d99e20e1e..cd7693db48 100644 --- a/maven/codenameone-maven-plugin/src/main/java/com/codename1/builders/AndroidGradleBuilder.java +++ b/maven/codenameone-maven-plugin/src/main/java/com/codename1/builders/AndroidGradleBuilder.java @@ -1033,7 +1033,7 @@ public boolean build(File sourceZip, final BuildRequest request) throws BuildExc + "-keepattributes Signature\n" + "-dontwarn bolts.**\n" + "-dontnote android.support.**\n" - + "-dontnote androidx.**"; + + "-dontnote androidx.**\n"; facebookActivityMetaData = " \n";