Skip to content

Commit c6982df

Browse files
committed
chore: bump dependencies, kotlin, and target sdk
1 parent 07115fc commit c6982df

File tree

6 files changed

+18
-25
lines changed

6 files changed

+18
-25
lines changed

app/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ fun getBuildNumber(): Int {
2626

2727
android {
2828
namespace = "dev.davwheat.railway.gateline_errors"
29-
compileSdk = 34
29+
compileSdk = 35
3030

3131
defaultConfig {
3232
applicationId = "dev.davwheat.railway.gateline_errors"
3333
minSdk = 24
34-
targetSdk = 34
34+
targetSdk = 35
3535
versionCode = getBuildNumber()
3636
versionName = "$versionMajor.$versionMinor.$versionPatch"
3737

app/src/main/java/dev/davwheat/railway/gateline_errors/composable/ErrorCodeEntry.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ fun ErrorCodeEntry(modifier: Modifier = Modifier, value: String, onInput: (Strin
3939
},
4040
keyboardOptions =
4141
KeyboardOptions(
42-
autoCorrect = false,
42+
autoCorrectEnabled = false,
4343
capitalization = KeyboardCapitalization.None,
4444
imeAction = ImeAction.Search,
4545
keyboardType = KeyboardType.Number,

app/src/main/java/dev/davwheat/railway/gateline_errors/composable/MainUi.kt

+4-8
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,12 @@ fun MainUi(modifier: Modifier = Modifier, showAds: Boolean) {
5454
confirmValueChange = { false },
5555
skipHiddenState = true,
5656
skipPartiallyExpanded = true,
57+
density = LocalDensity.current,
5758
),
5859
)
5960

60-
Scaffold(
61-
modifier = modifier.safeDrawingPadding(),
62-
) { innerPadding ->
63-
Box(
64-
modifier = Modifier
65-
.consumeWindowInsets(innerPadding)
66-
.fillMaxSize(),
67-
) {
61+
Scaffold(modifier) { innerPadding ->
62+
Box(modifier = Modifier.fillMaxSize()) {
6863
BottomSheetScaffold(
6964
sheetDragHandle = {},
7065
sheetSwipeEnabled = false,
@@ -84,6 +79,7 @@ fun MainUi(modifier: Modifier = Modifier, showAds: Boolean) {
8479
},
8580
) {
8681
Box(modifier = Modifier
82+
.padding(innerPadding)
8783
.padding(it)
8884
.fillMaxSize()
8985
.padding(bottom = 84.dp)) {

build.gradle.kts

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2-
@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
31
plugins {
42
alias(libs.plugins.androidApplication) apply false
53
alias(libs.plugins.kotlinAndroid) apply false
64
}
7-
true // Needed to make the Suppress annotation work for the plugins block

gradle/libs.versions.toml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[versions]
2-
agp = "8.3.0-alpha13"
3-
google-user-messaging-platform = "2.1.0"
2+
agp = "8.8.0"
3+
google-user-messaging-platform = "3.1.0"
44
kotlin = "1.9.0"
5-
core-ktx = "1.12.0"
5+
core-ktx = "1.15.0"
66
junit = "4.13.2"
7-
androidx-test-ext-junit = "1.1.5"
8-
espresso-core = "3.5.1"
9-
lifecycle-runtime-ktx = "2.6.2"
10-
activity-compose = "1.8.1"
11-
compose-bom = "2023.10.01"
12-
play-services-ads = "22.5.0"
7+
androidx-test-ext-junit = "1.2.1"
8+
espresso-core = "3.6.1"
9+
lifecycle-runtime-ktx = "2.8.7"
10+
activity-compose = "1.10.0"
11+
compose-bom = "2025.01.01"
12+
play-services-ads = "23.6.0"
1313
timber = "5.0.1"
1414

1515
[libraries]
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Mon Nov 13 23:05:12 GMT 2023
1+
#Sat Feb 01 21:10:13 GMT 2025
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)