Skip to content

Commit

Permalink
[Refactor] Migrate BuildConfig to Gradle build files
Browse files Browse the repository at this point in the history
Signed-off-by: Muntashir Al-Islam <[email protected]>
  • Loading branch information
MuntashirAkon committed Apr 18, 2024
1 parent 4bee1a5 commit 752e92f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ android {
}
buildFeatures {
aidl true
buildConfig true
}
}

Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
android.useAndroidX=true
android.enableJetifier=false
android.nonTransitiveRClass=true
android.defaults.buildfeatures.buildconfig=true
android.nonFinalResIds=false

org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
Expand Down
3 changes: 3 additions & 0 deletions libcore/compat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ android {
includeAndroidResources = true
}
}
buildFeatures {
buildConfig true
}
}

dependencies {
Expand Down
1 change: 1 addition & 0 deletions libcore/io/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ android {
}
buildFeatures {
aidl true
buildConfig true
}
}

Expand Down

0 comments on commit 752e92f

Please sign in to comment.