build: enable explicit API automatically on all library projects
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
cada2353c1
commit
a13176a23d
3 changed files with 15 additions and 8 deletions
|
@ -16,10 +16,6 @@ android {
|
|||
versionName = "2.0"
|
||||
consumerProguardFiles("consumer-rules.pro")
|
||||
}
|
||||
|
||||
kotlin { explicitApi() }
|
||||
|
||||
kotlinOptions { freeCompilerArgs = freeCompilerArgs + listOf("-Xexplicit-api=strict") }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue