File tree Expand file tree Collapse file tree 4 files changed +29
-28
lines changed
src/main/java/dev/lucasnlm/antimine Expand file tree Collapse file tree 4 files changed +29
-28
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ android {
1313
1414 defaultConfig {
1515 // versionCode and versionName must be hardcoded to support F-droid
16- versionCode = 1706041
17- versionName = " 17.6.4 "
16+ versionCode = 1707001
17+ versionName = " 17.7.0 "
1818 minSdk = libs.versions.minSdk.get().toInt()
1919 targetSdk = libs.versions.targetSdk.get().toInt()
2020 compileSdk = libs.versions.compileSdk.get().toInt()
Original file line number Diff line number Diff line change @@ -93,14 +93,15 @@ class GameActivity :
9393 }
9494
9595 @SuppressLint(" MissingSuperCall" )
96- override fun onNewIntent (intent : Intent ? ) {
96+ override fun onNewIntent (intent : Intent ) {
9797 super .onNewIntent(intent)
98- intent? .run (::handleIntent)
98+ intent.run (::handleIntent)
9999
100100 GameContext .zoom = 1.0f
101101 GameContext .zoomLevelAlpha = 1.0f
102102 }
103103
104+ @SuppressLint(" DefaultLocale" )
104105 private fun Int.toL10nString () = String .format(" %d" , this )
105106
106107 private fun showGameWarning (
@@ -154,7 +155,7 @@ class GameActivity :
154155 when {
155156 queryParamDifficulty != null -> {
156157 val upperDifficulty = queryParamDifficulty.uppercase()
157- val difficulty = Difficulty .values() .firstOrNull { it.id == upperDifficulty }
158+ val difficulty = Difficulty .entries .firstOrNull { it.id == upperDifficulty }
158159 if (difficulty == null ) {
159160 gameViewModel.loadLastGame()
160161 } else {
Original file line number Diff line number Diff line change 11[versions ]
22minSdk = " 21"
3- targetSdk = " 34 "
3+ targetSdk = " 35 "
44wearTargetSdk = " 33"
55wearMinSdk = " 25"
6- compileSdk = " 34 "
6+ compileSdk = " 35 "
77
88acra = " 5.11.2"
9- activityKtx = " 1.8.1 "
9+ activityKtx = " 1.9.0 "
1010amplitude = " 2.32.1"
11- appcompat = " 1.6.1 "
12- billingKtx = " 6.1 .0"
11+ appcompat = " 1.7.0 "
12+ billingKtx = " 7.0 .0"
1313bugsnagAndroid = " 5.31.2"
1414constraintlayout = " 2.1.4"
15- coreKtx = " 1.12.0 "
16- coreKtxVersion = " 1.5.0 "
17- coreSplashscreen = " 1.1.0-alpha02 "
18- espressoCore = " 3.5 .1"
19- fragmentKtx = " 1.6.2 "
15+ coreKtx = " 1.13.1 "
16+ coreKtxVersion = " 1.6.1 "
17+ coreSplashscreen = " 1.1.0-rc01 "
18+ espressoCore = " 3.6 .1"
19+ fragmentKtx = " 1.8.1 "
2020gdx = " 1.12.1"
2121google-coreKtx = " 1.8.1"
2222junit = " 4.13.2"
23- junitVersion = " 1.1.5 "
23+ junitVersion = " 1.2.1 "
2424koinAndroid = " 3.1.2"
2525konfettiXml = " 2.0.3"
2626kotlinxCoroutinesCore = " 1.7.3"
27- lifecycleViewmodelKtx = " 2.6.2 "
28- material = " 1.10 .0"
27+ lifecycleViewmodelKtx = " 2.8.3 "
28+ material = " 1.12 .0"
2929mockitoCore = " 4.6.1"
3030mockitoKotlin = " 2.1.0"
3131mockk = " 1.13.5"
3232multidex = " 2.0.1"
3333okhttp = " 4.10.0"
34- orchestrator = " 1.4.2 "
35- playServicesAds = " 22.6 .0"
36- playServicesAuth = " 20.7 .0"
37- playServicesGames = " 23.1 .0"
38- playServicesInstantapps = " 18.0.1 "
34+ orchestrator = " 1.5.0 "
35+ playServicesAds = " 23.2 .0"
36+ playServicesAuth = " 21.2 .0"
37+ playServicesGames = " 23.2 .0"
38+ playServicesInstantapps = " 18.1.0 "
3939preferenceKtx = " 1.2.1"
4040recyclerview = " 1.3.2"
4141robolectric = " 4.5.1"
42- runner = " 1.5.2 "
42+ runner = " 1.6.1 "
4343
4444# Plugins
45- android = " 8.1.4 "
46- kotlin = " 1.9.20 "
47- googleServices = " 4.4.0 "
45+ android = " 8.5.0 "
46+ kotlin = " 1.9.22 "
47+ googleServices = " 4.4.2 "
4848wear = " 1.3.0"
4949
5050[libraries ]
Original file line number Diff line number Diff line change 11# Sat Oct 07 16:06:38 BRT 2023
22distributionBase =GRADLE_USER_HOME
33distributionPath =wrapper/dists
4- distributionUrl =https\://services.gradle.org/distributions/gradle-8.4 -bin.zip
4+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.7 -bin.zip
55zipStoreBase =GRADLE_USER_HOME
66zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments