29 lines
559 B
Groovy
29 lines
559 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
|
|
compileSdkVersion TARGET_SDK
|
|
buildToolsVersion BUILD_TOOLS
|
|
|
|
defaultConfig {
|
|
minSdkVersion MIN_SDK
|
|
targetSdkVersion TARGET_SDK
|
|
versionCode 1
|
|
versionName version
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api SUPPORT_ANNOTATIONS
|
|
api PRISM_4J
|
|
api project(':library')
|
|
}
|
|
|
|
afterEvaluate {
|
|
generateReleaseBuildConfig.enabled = false
|
|
}
|
|
|
|
if (hasProperty('release')) {
|
|
apply from: 'https://raw.githubusercontent.com/noties/gradle-mvn-push/master/gradle-mvn-push-aar.gradle'
|
|
}
|