Skip to content

Commit

Permalink
Enable BuildConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
guodongAndroid committed May 27, 2024
1 parent df71ba1 commit 8b4d90b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ android {
targetCompatibility = JavaVersion.VERSION_1_8
}

buildFeatures {
buildConfig = true
}

kotlinOptions {
jvmTarget = "1.8"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class MainActivity : AppCompatActivity() {
}

@Proxy(
enable = true,
enable = BuildConfig.DEBUG,
handler = HandlerFqNames.GET_TEXT_NO_ARG
)
private fun getText(text: String): String {
Expand Down

0 comments on commit 8b4d90b

Please sign in to comment.