Skip to content

Commit

Permalink
Merge branch 'fix-migrate-buildconfig-warning-droid-652'
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-mullvad committed Mar 4, 2024
2 parents f9267d9 + 832faec commit 75c0537
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 3 deletions.
5 changes: 4 additions & 1 deletion android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ android {
}
}

buildFeatures { compose = true }
buildFeatures {
compose = true
buildConfig = true
}

composeOptions { kotlinCompilerExtensionVersion = Versions.kotlinCompilerExtensionVersion }

Expand Down
1 change: 0 additions & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
android.enableR8.fullMode=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.useAndroidX=true
kotlin.code.style=official
Expand Down
3 changes: 3 additions & 0 deletions android/lib/endpoint/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ android {
abortOnError = true
warningsAsErrors = true
}
buildFeatures {
buildConfig = true
}
}

dependencies { implementation(Dependencies.Kotlin.stdlib) }
5 changes: 4 additions & 1 deletion android/lib/map/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ android {
jvmTarget = Versions.jvmTarget
}

buildFeatures { compose = true }
buildFeatures {
compose = true
buildConfig = true
}

composeOptions { kotlinCompilerExtensionVersion = Versions.kotlinCompilerExtensionVersion }

Expand Down
3 changes: 3 additions & 0 deletions android/service/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ android {
buildConfigField("String", "API_ENDPOINT", "\"api.stagemole.eu\"")
}
}
buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down
3 changes: 3 additions & 0 deletions android/test/e2e/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ android {
)
}
}
buildFeatures {
buildConfig = true
}
}

androidComponents {
Expand Down

0 comments on commit 75c0537

Please sign in to comment.