Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(gradle): move to gradle buildconfig #13396

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions app/build.gradle.kts
Expand Up @@ -154,6 +154,7 @@ android {
buildFeatures {
viewBinding = true
compose = true
buildConfig = true
}

composeOptions {
Expand Down
3 changes: 3 additions & 0 deletions contacts/app/build.gradle
Expand Up @@ -8,6 +8,9 @@ android {
defaultConfig {
applicationId "org.signal.contactstest"
}
buildFeatures {
buildConfig true
}
}

dependencies {
Expand Down
3 changes: 3 additions & 0 deletions device-transfer/app/build.gradle.kts
Expand Up @@ -14,6 +14,9 @@ android {

buildConfigField("String", "LIBSIGNAL_VERSION", "\"libsignal ${libs.versions.libsignal.client.get()}\"")
}
buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down
3 changes: 3 additions & 0 deletions donations/lib/build.gradle.kts
Expand Up @@ -5,6 +5,9 @@ plugins {

android {
namespace = "org.signal.donations"
buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Expand Up @@ -3,6 +3,5 @@ android.useAndroidX=true
android.enableJetifier=true
kapt.incremental.apt=false
android.experimental.androidTest.numManagedDeviceShards=4
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false