Skip to content

Commit 638ddf9

Browse files
authored
Merge pull request #474 from lucasnlm/new-build
New build
2 parents 32f1825 + e315e82 commit 638ddf9

File tree

5 files changed

+62
-17
lines changed

5 files changed

+62
-17
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ android {
88

99
defaultConfig {
1010
// versionCode and versionName must be hardcoded to support F-droid
11-
versionCode 1705071
12-
versionName '17.5.7'
11+
versionCode 1705081
12+
versionName '17.5.8'
1313
minSdk 21
1414
targetSdk 34
1515
compileSdk 34

app/proguard-rules.pro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,6 @@
7878
boolean reportFixture(long);
7979
float reportRayFixture(long, float, float, float, float, float);
8080
}
81+
82+
-dontwarn javax.annotation.processing.AbstractProcessor
83+
-dontwarn javax.annotation.processing.SupportedOptions

app/src/main/res/layout-land/activity_game.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
android:layout_width="?attr/actionBarSize"
136136
android:layout_height="?attr/actionBarSize"
137137
android:layout_gravity="center"
138-
app:indicatorColor="?colorPrimary"
138+
app:indicatorColor="?colorError"
139139
app:indicatorSize="24dp"
140140
app:trackThickness="3dp" />
141141

@@ -172,13 +172,14 @@
172172
android:id="@+id/loadingGame"
173173
android:layout_width="match_parent"
174174
android:layout_height="wrap_content"
175-
app:layout_constraintBottom_toBottomOf="parent"
176-
app:layout_constraintStart_toStartOf="parent"
177-
app:layout_constraintEnd_toEndOf="parent"
178-
app:trackThickness="2dp"
179175
android:indeterminate="true"
176+
android:visibility="gone"
180177
app:hideAnimationBehavior="outward"
178+
app:indicatorColor="?colorError"
179+
app:layout_constraintBottom_toBottomOf="parent"
180+
app:layout_constraintEnd_toEndOf="parent"
181+
app:layout_constraintStart_toStartOf="parent"
181182
app:showAnimationBehavior="inward"
182-
android:visibility="gone"/>
183+
app:trackThickness="2dp" />
183184

184185
</androidx.constraintlayout.widget.ConstraintLayout>

app/src/main/res/layout/activity_game.xml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@
8484
android:layout_height="wrap_content"
8585
android:layout_gravity="center"
8686
android:layout_weight="1"
87-
android:layoutDirection="ltr"
88-
android:gravity="center">
87+
android:gravity="center"
88+
android:layoutDirection="ltr">
8989

9090
<com.google.android.material.textview.MaterialTextView
9191
android:id="@+id/timer"
@@ -138,7 +138,7 @@
138138
android:layout_width="?attr/actionBarSize"
139139
android:layout_height="?attr/actionBarSize"
140140
android:layout_gravity="center"
141-
app:indicatorColor="?colorPrimary"
141+
app:indicatorColor="?colorError"
142142
app:indicatorSize="24dp"
143143
app:trackThickness="3dp" />
144144

@@ -173,14 +173,15 @@
173173
android:id="@+id/loadingGame"
174174
android:layout_width="match_parent"
175175
android:layout_height="wrap_content"
176-
app:layout_constraintTop_toBottomOf="@+id/app_bar"
177-
app:layout_constraintStart_toStartOf="parent"
178-
app:layout_constraintEnd_toEndOf="parent"
179-
app:trackThickness="2dp"
180176
android:indeterminate="true"
177+
android:visibility="gone"
181178
app:hideAnimationBehavior="outward"
179+
app:indicatorColor="?colorError"
180+
app:layout_constraintEnd_toEndOf="parent"
181+
app:layout_constraintStart_toStartOf="parent"
182+
app:layout_constraintTop_toBottomOf="@+id/app_bar"
182183
app:showAnimationBehavior="inward"
183-
android:visibility="gone" />
184+
app:trackThickness="2dp" />
184185

185186
<nl.dionsegijn.konfetti.xml.KonfettiView
186187
android:id="@+id/konfettiView"

wear/proguard-rules.pro

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
-keepnames class * extends android.os.Parcelable
1414
-keepnames class * extends java.io.Serializable
1515

16+
-keepattributes *Annotation*
17+
-keepattributes Signature
18+
-dontwarn com.squareup.**
19+
-keep class com.squareup.** { *; }
20+
-keep class com.squareup.moshi.** { *; }
21+
1622
-keep class * implements android.os.Parcelable {
1723
public static final android.os.Parcelable$Creator *;
1824
}
@@ -27,6 +33,8 @@
2733
-dontwarn org.openjsse.**
2834

2935
# For Google Play Services
36+
-keepattributes Signature
37+
-keep class com.google.android.gms.** { *; }
3038
-keep class io.grpc.** {*;}
3139
-keep public class com.google.android.gms.ads.** {
3240
public *;
@@ -40,4 +48,36 @@
4048
# Material
4149
-keep class com.google.android.material.** { *; }
4250
-dontwarn com.google.android.material.**
43-
-dontnote com.google.android.material.**
51+
-dontnote com.google.android.material.**
52+
53+
# Kryo
54+
-dontwarn sun.reflect.**
55+
-dontwarn java.beans.**
56+
-dontwarn sun.nio.ch.**
57+
-dontwarn sun.misc.**
58+
59+
# Firebase
60+
-keep class com.google.android.gms.** { *; }
61+
-keep class com.google.firebase.** { *; }
62+
63+
# LibGDX
64+
-keep class com.badlogic.gdx.scenes.** { *; }
65+
66+
-dontwarn com.badlogic.gdx.backends.android.AndroidFragmentApplication
67+
68+
# Required if using Gdx-Controllers extension
69+
-keep class com.badlogic.gdx.controllers.android.AndroidControllers
70+
71+
# Required if using Box2D extension
72+
-keepclassmembers class com.badlogic.gdx.physics.box2d.World {
73+
boolean contactFilter(long, long);
74+
void beginContact(long);
75+
void endContact(long);
76+
void preSolve(long, long);
77+
void postSolve(long, long);
78+
boolean reportFixture(long);
79+
float reportRayFixture(long, float, float, float, float, float);
80+
}
81+
82+
-dontwarn javax.annotation.processing.AbstractProcessor
83+
-dontwarn javax.annotation.processing.SupportedOptions

0 commit comments

Comments
 (0)