diff options
author | Fabian Henneke <FabianHenneke@users.noreply.github.com> | 2020-11-03 09:06:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 13:36:17 +0530 |
commit | 73648b39d02086d1b964a89e049fe2c4ae3c33fc (patch) | |
tree | 0f978f7ba87df9d4d2068887570ee5ad784a157e /autofill-parser/build.gradle.kts | |
parent | 1d13a1fbd6580c0d28c90579ade96e0a93e17c92 (diff) |
Make autofill-parser API explicit and refactor (#1182)
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 { |