Skip to content

Commit

Permalink
Move build config property (#376)
Browse files Browse the repository at this point in the history
* Fix deprecated build config

* Remove unused value
  • Loading branch information
Jean-BaptisteC authored Jan 9, 2024
1 parent 93bb419 commit 000d77f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ android {
versionCode = 17
versionName = "3.2.0"
testInstrumentationRunner = "org.eu.exodus_privacy.exodusprivacy.ExodusTestRunner"
val API_KEY = System.getenv("EXODUS_API_KEY")
buildConfigField("String", "EXODUS_API_KEY", "\"$API_KEY\"")
buildConfigField("String", "EXODUS_API_KEY", "\"${System.getenv("EXODUS_API_KEY")}\"")

ksp {
arg(
Expand Down Expand Up @@ -85,6 +84,7 @@ android {
}
buildFeatures {
viewBinding = true
buildConfig = true
}
lint {
lintConfig = file("lint.xml")
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ android.useAndroidX=true
android.enableJetifier=false
android.nonTransitiveRClass=true
android.enableR8.fullMode=false
android.defaults.buildfeatures.buildconfig=true
android.nonFinalResIds=false

kotlin.code.style=official

0 comments on commit 000d77f

Please sign in to comment.