diff options
author | Fabian Henneke <FabianHenneke@users.noreply.github.com> | 2020-11-03 09:06:17 +0100 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2021-03-20 22:26:19 +0530 |
commit | 0e9843ccba9fefabcb33e81ea13756bbbf74506e (patch) | |
tree | 43d6aa60f70bae1a67f3ae7577ab7a9f581d1523 /autofill-parser/build.gradle.kts | |
parent | 2494a159890950359fdfac4aad2260662acadfaf (diff) |
Make autofill-parser API explicit and refactor (#1182)
(cherry picked from commit 73648b39d02086d1b964a89e049fe2c4ae3c33fc)
Diffstat (limited to 'autofill-parser/build.gradle.kts')
-rw-r--r-- | autofill-parser/build.gradle.kts | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/autofill-parser/build.gradle.kts b/autofill-parser/build.gradle.kts index dd066407..35169989 100644 --- a/autofill-parser/build.gradle.kts +++ b/autofill-parser/build.gradle.kts @@ -21,10 +21,20 @@ fun getCredential(type: String): String { android { defaultConfig { - versionCode = 1 - versionName = "1.0" + versionCode = 2 + versionName = "2.0" consumerProguardFiles("consumer-rules.pro") } + + kotlin { + explicitApi() + } + + kotlinOptions { + freeCompilerArgs = freeCompilerArgs + listOf( + "-Xexplicit-api=strict" + ) + } } afterEvaluate { |