build: enable explicit API automatically on all library projects

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya
2021-04-17 22:33:00 +05:30
parent cada2353c1
commit a13176a23d
3 changed files with 15 additions and 8 deletions

View File

@@ -16,10 +16,6 @@ android {
versionName = "2.0"
consumerProguardFiles("consumer-rules.pro")
}
kotlin { explicitApi() }
kotlinOptions { freeCompilerArgs = freeCompilerArgs + listOf("-Xexplicit-api=strict") }
}
dependencies {