| plugins { |
| id("com.android.library") |
| id("org.jetbrains.kotlin.android") |
| id("com.vanniktech.maven.publish") |
| } |
| |
| dependencies { |
| api projects.shark.sharkLog |
| api projects.leakcanary.leakcanaryAndroidUtils |
| |
| implementation libs.kotlin.stdlib |
| implementation libs.curtains |
| // Optional dependency |
| compileOnly libs.androidX.fragment |
| } |
| |
| android { |
| resourcePrefix 'leak_canary_plumber' |
| compileSdk versions.compileSdk |
| defaultConfig { |
| minSdk versions.minSdk |
| consumerProguardFiles 'consumer-proguard-rules.pro' |
| } |
| buildFeatures.buildConfig = false |
| namespace 'com.squareup.leakcanary.plumber.core' |
| lint { |
| checkOnly 'Interoperability' |
| disable 'GoogleAppIndexingWarning' |
| error 'ObsoleteSdkInt' |
| } |
| } |