Skip to content

Commit 5ea7553

Browse files
Attempt to fix Groovy failing on build check
1 parent 61a226f commit 5ea7553

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

android/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ android {
4646
minifyEnabled true
4747
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
4848
}
49+
debug {
50+
minifyEnabled true
51+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
52+
}
4953
}
5054
}
5155

android/proguard-rules.pro

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,20 @@
3939
float reportRayFixture(long, float, float, float, float, float);
4040
}
4141

42+
# Ignore missing Java Beans classes (Android doesn't have java.beans, Groovy handles this internally)
43+
-dontwarn java.beans.**
44+
45+
# Ignore XStream (Used for XML serialization in Groovy, likely unused in your game)
46+
-dontwarn com.thoughtworks.xstream.**
47+
48+
# Ignore Annotations (Build-time only, safe to ignore)
49+
-dontwarn com.google.errorprone.annotations.**
50+
-dontwarn javax.annotation.**
51+
-dontwarn edu.umd.cs.findbugs.**
52+
53+
# Ignore Reference types
54+
-dontwarn java.lang.invoke.**
55+
4256
# You will need the next three lines if you use scene2d for UI or gameplay.
4357
# If you don't use scene2d at all, you can remove or comment out the next line:
4458
-keep public class com.badlogic.gdx.scenes.scene2d.** { *; }

0 commit comments

Comments
 (0)