mirror of
https://github.com/wasabeef/glide-transformations.git
synced 2025-12-23 02:46:19 +08:00
@@ -1,37 +1,39 @@
|
||||
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
|
||||
|
||||
renderscriptTargetApi TARGET_SDK_VERSION as int
|
||||
renderscriptSupportModeEnabled true
|
||||
|
||||
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}"
|
||||
implementation "com.github.bumptech.glide:glide:$glide_version"
|
||||
annotationProcessor "com.github.bumptech.glide:compiler:$glide_version"
|
||||
compileOnly "jp.co.cyberagent.android:gpuimage:$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
|
||||
ext {
|
||||
bintrayRepo = 'maven'
|
||||
bintrayName = 'glide-transformations'
|
||||
bintrayUserOrg = 'wasabeef'
|
||||
publishedGroupId = 'jp.wasabeef'
|
||||
libraryName = 'glide-transformations'
|
||||
artifact = 'glide-transformations'
|
||||
libraryDescription = 'Which provides simple Tranformations to Glide'
|
||||
siteUrl = 'https://github.com/wasabeef/glide-transformations'
|
||||
gitUrl = 'https://github.com/wasabeef/glide-transformations.git'
|
||||
issueUrl = 'https://github.com/wasabeef/glide-transformations/issues'
|
||||
libraryVersion = VERSION_NAME
|
||||
developerId = 'wasabeef'
|
||||
developerName = 'Wasabeef'
|
||||
developerEmail = 'dadadada.chop@gmail.com'
|
||||
licenseName = 'The Apache Software License, Version 2.0'
|
||||
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
|
||||
allLicenses = ["Apache-2.0"]
|
||||
}
|
||||
|
||||
apply from: 'https://gist.githubusercontent.com/wasabeef/cf14805bee509baf7461974582f17d26/raw/bintray-v1.gradle'
|
||||
apply from: 'https://gist.githubusercontent.com/wasabeef/cf14805bee509baf7461974582f17d26/raw/install-v1.gradle'
|
||||
Reference in New Issue
Block a user