From 73648b39d02086d1b964a89e049fe2c4ae3c33fc Mon Sep 17 00:00:00 2001 From: Fabian Henneke Date: Tue, 3 Nov 2020 09:06:17 +0100 Subject: Make autofill-parser API explicit and refactor (#1182) --- autofill-parser/build.gradle.kts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'autofill-parser/build.gradle.kts') 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 { -- cgit v1.2.3