Skip to content

Commit c7fd39b

Browse files
committed
Use assignment syntax in build.gradle + Rely on BOM version management for Compose dependencies
1 parent 52b134c commit c7fd39b

File tree

1 file changed

+15
-18
lines changed

1 file changed

+15
-18
lines changed

app/build.gradle

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ kotlin {
1111
}
1212
android {
1313
namespace = 'com.phpbg.easysync'
14-
compileSdk 36
14+
compileSdk = 36
1515

1616
defaultConfig {
17-
applicationId "com.phpbg.easysync"
18-
minSdk 26
17+
applicationId = "com.phpbg.easysync"
18+
minSdk = 26
1919
resourceConfigurations += ["en", "fr", "de", "ru", "es", "zh"]
20-
targetSdk 36
21-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
20+
targetSdk = 36
21+
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2222
vectorDrawables {
2323
useSupportLibrary = true
2424
}
25-
versionCode 21
26-
versionName "1.21"
25+
versionCode = 21
26+
versionName = "1.21"
2727
}
2828

2929
ksp {
@@ -58,9 +58,6 @@ android {
5858
compose = true
5959
buildConfig = true
6060
}
61-
composeOptions {
62-
kotlinCompilerExtensionVersion = '1.5.3'
63-
}
6461
packagingOptions {
6562
resources {
6663
excludes += '/META-INF/{AL2.0,LGPL2.1}'
@@ -81,13 +78,13 @@ dependencies {
8178
implementation 'androidx.activity:activity-compose:1.10.1'
8279
implementation 'androidx.activity:activity-ktx:1.10.1'
8380
implementation 'androidx.fragment:fragment-ktx:1.8.9'
84-
implementation platform('androidx.compose:compose-bom:2025.09.00')
85-
implementation 'androidx.compose.ui:ui:1.8.3'
86-
implementation 'androidx.compose.ui:ui-graphics:1.8.3'
87-
implementation 'androidx.compose.ui:ui-tooling-preview:1.8.3'
88-
implementation 'androidx.compose.material3:material3:1.3.2'
89-
implementation 'androidx.compose.material:material-icons-extended:1.7.8'
90-
implementation 'androidx.compose.runtime:runtime-livedata:1.8.3'
81+
implementation platform('androidx.compose:compose-bom:2025.12.00')
82+
implementation 'androidx.compose.ui:ui'
83+
implementation 'androidx.compose.ui:ui-graphics'
84+
implementation 'androidx.compose.ui:ui-tooling-preview'
85+
implementation 'androidx.compose.material3:material3'
86+
implementation 'androidx.compose.material:material-icons-extended'
87+
implementation 'androidx.compose.runtime:runtime-livedata'
9188
implementation 'androidx.datastore:datastore-preferences:1.1.7'
9289
implementation 'com.squareup.okhttp3:okhttp:5.1.0'
9390
implementation 'com.squareup.okhttp3:logging-interceptor:5.1.0'
@@ -96,7 +93,7 @@ dependencies {
9693
testImplementation 'net.sf.kxml:kxml2:2.3.0'
9794
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
9895
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
99-
androidTestImplementation platform('androidx.compose:compose-bom:2025.09.00')
96+
androidTestImplementation platform('androidx.compose:compose-bom:2025.12.00')
10097
androidTestImplementation 'androidx.compose.ui:ui-test-junit4'
10198
debugImplementation 'androidx.compose.ui:ui-tooling'
10299
debugImplementation 'androidx.compose.ui:ui-test-manifest'

0 commit comments

Comments
 (0)