Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 90c331a

Browse files
authoredMay 7, 2025··
Replace deprecated gradle syntax (#265)
## 🎟️ Tracking <!-- Paste the link to the Jira or GitHub issue or otherwise describe / point to where this change is coming from. --> ## 📔 Objective The space assignment syntax was deprecated in Gradle 8.0 and will be removed in Gradle 10.0: https://docs.gradle.org/8.12/userguide/upgrading_version_8.html#groovy_space_assignment_syntax ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Protected functional changes with optionality (feature flags) - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes
1 parent bc2f203 commit 90c331a

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed
 

‎crates/bitwarden-uniffi/kotlin/app/build.gradle

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,40 @@ plugins {
66
}
77

88
android {
9-
namespace 'com.bitwarden.myapplication'
10-
compileSdk 35
9+
namespace = 'com.bitwarden.myapplication'
10+
compileSdk = 35
1111

1212
defaultConfig {
13-
applicationId "com.bitwarden.myapplication"
14-
minSdk 28
15-
targetSdk 35
16-
versionCode 1
17-
versionName "1.0"
13+
applicationId = "com.bitwarden.myapplication"
14+
minSdk = 28
15+
targetSdk = 35
16+
versionCode = 1
17+
versionName = "1.0"
1818

19-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
19+
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2020
vectorDrawables {
21-
useSupportLibrary true
21+
useSupportLibrary = true
2222
}
2323
}
2424

2525
buildTypes {
2626
release {
27-
minifyEnabled false
27+
minifyEnabled = false
2828
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2929
}
3030
}
3131
compileOptions {
32-
sourceCompatibility JavaVersion.VERSION_1_8
33-
targetCompatibility JavaVersion.VERSION_1_8
32+
sourceCompatibility = JavaVersion.VERSION_1_8
33+
targetCompatibility = JavaVersion.VERSION_1_8
3434
}
3535
kotlinOptions {
3636
jvmTarget = '1.8'
3737
}
3838
buildFeatures {
39-
compose true
39+
compose = true
4040
}
4141
composeOptions {
42-
kotlinCompilerExtensionVersion '1.5.12'
42+
kotlinCompilerExtensionVersion = '1.5.12'
4343
}
4444
packagingOptions {
4545
resources {

‎crates/bitwarden-uniffi/kotlin/sdk/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,27 @@ plugins {
55
}
66

77
android {
8-
namespace 'com.bitwarden.sdk'
9-
compileSdk 35
8+
namespace = 'com.bitwarden.sdk'
9+
compileSdk = 35
1010

1111
defaultConfig {
12-
minSdk 28
13-
targetSdk 35
12+
minSdk = 28
13+
targetSdk = 35
1414

15-
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
15+
testInstrumentationRunner = 'androidx.test.runner.AndroidJUnitRunner'
1616
consumerProguardFiles 'consumer-rules.pro'
1717
}
1818

1919
buildTypes {
2020
release {
21-
minifyEnabled false
21+
minifyEnabled = false
2222
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2323
}
2424
}
2525

2626
compileOptions {
27-
sourceCompatibility JavaVersion.VERSION_1_8
28-
targetCompatibility JavaVersion.VERSION_1_8
27+
sourceCompatibility = JavaVersion.VERSION_1_8
28+
targetCompatibility = JavaVersion.VERSION_1_8
2929
}
3030

3131
kotlinOptions {

0 commit comments

Comments
 (0)
Please sign in to comment.