Markwon/html-parser-impl/build.gradle
2018-08-18 13:31:06 +03:00

38 lines
715 B
Groovy

apply plugin: 'com.android.library'
android {
compileSdkVersion config['compile-sdk']
buildToolsVersion config['build-tools']
defaultConfig {
minSdkVersion config['min-sdk']
targetSdkVersion config['target-sdk']
versionCode 1
versionName version
}
}
dependencies {
api project(':html-parser-api')
deps.with {
api it['support-annotations']
}
deps.test.with {
testImplementation it['junit']
testImplementation it['robolectric']
}
}
afterEvaluate {
generateDebugBuildConfig.enabled = false
generateReleaseBuildConfig.enabled = false
}
if (hasProperty('release')) {
apply from: config['push-aar-gradle']
}