30 lines
589 B
Groovy
30 lines
589 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
|
|
}
|
|
|
|
lintOptions {
|
|
// okio....
|
|
disable 'InvalidPackage'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api project(':library')
|
|
api ANDROID_SVG
|
|
api ANDROID_GIF
|
|
api OK_HTTP
|
|
}
|
|
|
|
if (project.hasProperty('release')) {
|
|
apply from: 'https://raw.githubusercontent.com/noties/gradle-mvn-push/master/gradle-mvn-push-aar.gradle'
|
|
} |