mirror of
https://github.com/wasabeef/glide-transformations.git
synced 2025-06-07 23:04:06 +08:00
35 lines
942 B
Groovy
35 lines
942 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'com.novoda.bintray-release'
|
|
|
|
android {
|
|
compileSdkVersion COMPILE_SDK_VERSION as int
|
|
buildToolsVersion BUILD_TOOLS_VERSION
|
|
|
|
defaultConfig {
|
|
minSdkVersion MIN_SDK_VERSION as int
|
|
targetSdkVersion TARGET_SDK_VERSION as int
|
|
versionCode "git rev-list origin/master --count".execute().text.toInteger()
|
|
versionName VERSION_NAME
|
|
|
|
consumerProguardFiles 'proguard-rules.txt'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "com.github.bumptech.glide:glide:${GLIDE_VERSION}"
|
|
annotationProcessor "com.github.bumptech.glide:compiler:${GLIDE_VERSION}"
|
|
compileOnly "jp.co.cyberagent.android.gpuimage:gpuimage-library:${GPUIMAGE_VERSION}"
|
|
}
|
|
|
|
publish {
|
|
userOrg = POM_DEVELOPER_ID
|
|
groupId = GROUP
|
|
artifactId = ARTIFACT_ID
|
|
publishVersion = VERSION_NAME
|
|
desc = POM_DESCRIPTION
|
|
website = POM_URL
|
|
bintrayUser = BINTRAY_USER
|
|
bintrayKey = BINTRAY_API_KEY
|
|
autoPublish = false
|
|
}
|