mirror of
https://github.com/wasabeef/glide-transformations.git
synced 2025-06-08 07:24:05 +08:00
bump up 1.3.1
This commit is contained in:
parent
a6a2b625ad
commit
d8a12b02b8
@ -1,6 +1,14 @@
|
|||||||
Change Log
|
Change Log
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
Version 1.3.1 *(2015-11-27)*
|
||||||
|
----------------------------
|
||||||
|
|
||||||
|
Change the renderscriptTargetApi down to 20.
|
||||||
|
Warning:Renderscript support mode is not currently supported with renderscript target 21+
|
||||||
|
|
||||||
|
fix: memory leak.
|
||||||
|
|
||||||
Version 1.3.0 *(2015-11-10)*
|
Version 1.3.0 *(2015-11-10)*
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'jp.wasabeef:glide-transformations:1.3.0'
|
compile 'jp.wasabeef:glide-transformations:1.3.1'
|
||||||
// If you want to use the GPU Filters
|
// If you want to use the GPU Filters
|
||||||
compile 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.3.0'
|
compile 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.3.0'
|
||||||
}
|
}
|
||||||
|
@ -5,8 +5,8 @@ buildscript {
|
|||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:1.5.0-beta2'
|
classpath 'com.android.tools.build:gradle:2.0.0-alpha1'
|
||||||
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.3.1'
|
classpath 'com.novoda:bintray-release:0.3.4'
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
@ -7,7 +7,7 @@ android {
|
|||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion MIN_SDK_VERSION as int
|
minSdkVersion MIN_SDK_VERSION as int
|
||||||
targetSdkVersion TARGET_SDK_VERSION as int
|
targetSdkVersion TARGET_SDK_VERSION as int
|
||||||
versionCode VERSION_CODE as int
|
versionCode "git rev-list origin/master --count".execute().text.toInteger()
|
||||||
versionName VERSION_NAME
|
versionName VERSION_NAME
|
||||||
|
|
||||||
// Warning:Renderscript support mode is not currently supported with renderscript target 21+
|
// Warning:Renderscript support mode is not currently supported with renderscript target 21+
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
VERSION_NAME=1.3.0
|
VERSION_NAME=1.3.1
|
||||||
VERSION_CODE=13
|
|
||||||
GROUP=jp.wasabeef
|
GROUP=jp.wasabeef
|
||||||
ARTIFACT_ID=glide-transformations
|
ARTIFACT_ID=glide-transformations
|
||||||
|
|
||||||
COMPILE_SDK_VERSION=23
|
COMPILE_SDK_VERSION=23
|
||||||
BUILD_TOOLS_VERSION=23.0.2
|
BUILD_TOOLS_VERSION=23.0.2
|
||||||
TARGET_SDK_VERSION=23
|
TARGET_SDK_VERSION=23
|
||||||
|
# Warning:Renderscript support mode is not currently supported with renderscript target 21+
|
||||||
RENDERSCRIPT_TARGET_API=20
|
RENDERSCRIPT_TARGET_API=20
|
||||||
MIN_SDK_VERSION=11
|
MIN_SDK_VERSION=11
|
||||||
|
|
||||||
@ -23,6 +23,6 @@ POM_DEVELOPER_EMAIL=dadadada.chop@gmail.com
|
|||||||
POM_DEVELOPER_URL=wasabeef.jp
|
POM_DEVELOPER_URL=wasabeef.jp
|
||||||
ISSUE_URL=https://github.com/wasabeef/glide-transformations/issues
|
ISSUE_URL=https://github.com/wasabeef/glide-transformations/issues
|
||||||
|
|
||||||
SUPPORT_PACKAGE_VERSION=23.0.1
|
SUPPORT_PACKAGE_VERSION=23.1.1
|
||||||
GLIDE_VERSION=3.6.1
|
GLIDE_VERSION=3.6.1
|
||||||
GPUIMAGE_VERSION=1.3.0
|
GPUIMAGE_VERSION=1.3.0
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
task androidJavadocs(type: Javadoc) {
|
|
||||||
source = android.sourceSets.main.java.srcDirs
|
|
||||||
ext.androidJar = "${android.sdkDirectory}/platforms/${android.compileSdkVersion}/android.jar"
|
|
||||||
classpath += files(ext.androidJar)
|
|
||||||
}
|
|
||||||
|
|
||||||
task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {
|
|
||||||
classifier = 'javadoc'
|
|
||||||
from androidJavadocs.destinationDir
|
|
||||||
}
|
|
||||||
|
|
||||||
task androidSourcesJar(type: Jar) {
|
|
||||||
classifier = 'sources'
|
|
||||||
from android.sourceSets.main.java.sourceFiles
|
|
||||||
}
|
|
||||||
|
|
||||||
task androidJar(type: Jar) {
|
|
||||||
from 'build/intermediates/classes/release'
|
|
||||||
}
|
|
||||||
|
|
||||||
artifacts {
|
|
||||||
archives androidSourcesJar
|
|
||||||
archives androidJavadocsJar
|
|
||||||
archives androidJar
|
|
||||||
}
|
|
@ -1,64 +0,0 @@
|
|||||||
apply plugin: 'maven-publish'
|
|
||||||
apply plugin: 'com.jfrog.bintray'
|
|
||||||
|
|
||||||
publishing {
|
|
||||||
publications {
|
|
||||||
mavenJava(MavenPublication) {
|
|
||||||
groupId GROUP
|
|
||||||
version VERSION_NAME
|
|
||||||
artifactId ARTIFACT_ID
|
|
||||||
// artifact androidJar
|
|
||||||
artifact "build/outputs/aar/transformations-release.aar"
|
|
||||||
artifact androidJavadocsJar
|
|
||||||
artifact androidSourcesJar
|
|
||||||
pom.withXml {
|
|
||||||
Node root = asNode()
|
|
||||||
root.appendNode('name', ARTIFACT_ID)
|
|
||||||
root.appendNode('description', POM_DESCRIPTION)
|
|
||||||
root.appendNode('url', POM_URL)
|
|
||||||
|
|
||||||
def issues = root.appendNode('issueManagement')
|
|
||||||
issues.appendNode('system', 'github')
|
|
||||||
issues.appendNode('url', ISSUE_URL)
|
|
||||||
|
|
||||||
def scm = root.appendNode('scm')
|
|
||||||
scm.appendNode('url', POM_SCM_URL)
|
|
||||||
scm.appendNode('connection', POM_SCM_CONNECTION)
|
|
||||||
scm.appendNode('developerConnection', POM_SCM_DEV_CONNECTION)
|
|
||||||
|
|
||||||
def license = root.appendNode('licenses').appendNode('license')
|
|
||||||
license.appendNode('name', POM_LICENCE_NAME)
|
|
||||||
license.appendNode('url', POM_LICENCE_URL)
|
|
||||||
license.appendNode('distribution', POM_LICENCE_DIST)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
def getBintrayUserProperty() {
|
|
||||||
return hasProperty('bintrayUser') ? bintrayUser : ""
|
|
||||||
}
|
|
||||||
|
|
||||||
def getBintrayApiKeyProperty() {
|
|
||||||
return hasProperty('bintrayApiKey') ? bintrayApiKey : ""
|
|
||||||
}
|
|
||||||
|
|
||||||
bintray {
|
|
||||||
user = bintrayUserProperty
|
|
||||||
key = bintrayApiKeyProperty
|
|
||||||
publications = ['mavenJava']
|
|
||||||
|
|
||||||
dryRun = false
|
|
||||||
publish = false
|
|
||||||
pkg {
|
|
||||||
repo = 'maven'
|
|
||||||
name = ARTIFACT_ID
|
|
||||||
licenses = ['Apache-2.0']
|
|
||||||
labels = ['android']
|
|
||||||
|
|
||||||
version {
|
|
||||||
name = VERSION_NAME
|
|
||||||
vcsTag = VERSION_NAME
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,4 +1,5 @@
|
|||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
apply plugin: 'com.novoda.bintray-release'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion COMPILE_SDK_VERSION as int
|
compileSdkVersion COMPILE_SDK_VERSION as int
|
||||||
@ -7,7 +8,7 @@ android {
|
|||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion MIN_SDK_VERSION as int
|
minSdkVersion MIN_SDK_VERSION as int
|
||||||
targetSdkVersion TARGET_SDK_VERSION as int
|
targetSdkVersion TARGET_SDK_VERSION as int
|
||||||
versionCode VERSION_CODE as int
|
versionCode "git rev-list origin/master --count".execute().text.toInteger()
|
||||||
versionName VERSION_NAME
|
versionName VERSION_NAME
|
||||||
|
|
||||||
// Warning:Renderscript support mode is not currently supported with renderscript target 21+
|
// Warning:Renderscript support mode is not currently supported with renderscript target 21+
|
||||||
@ -21,24 +22,11 @@ dependencies {
|
|||||||
provided "jp.co.cyberagent.android.gpuimage:gpuimage-library:${GPUIMAGE_VERSION}"
|
provided "jp.co.cyberagent.android.gpuimage:gpuimage-library:${GPUIMAGE_VERSION}"
|
||||||
}
|
}
|
||||||
|
|
||||||
android.libraryVariants.all { variant ->
|
publish {
|
||||||
if (variant.buildType.isDebuggable()) {
|
userOrg = POM_DEVELOPER_ID
|
||||||
return; // Skip debug builds.
|
groupId = GROUP
|
||||||
}
|
artifactId = ARTIFACT_ID
|
||||||
task("javadoc${variant.name.capitalize()}", type: Javadoc) {
|
publishVersion = VERSION_NAME
|
||||||
description "Generates Javadoc for $variant.name."
|
desc = POM_DESCRIPTION
|
||||||
source = variant.javaCompile.source
|
website = POM_URL
|
||||||
ext.androidJar = System.getenv("ANDROID_HOME") + "/platforms/${android.compileSdkVersion}/android.jar"
|
|
||||||
classpath = files(variant.javaCompile.classpath.files) + files(ext.androidJar)
|
|
||||||
}
|
|
||||||
|
|
||||||
task("bundleJavadoc${variant.name.capitalize()}", type: Jar) {
|
|
||||||
description "Bundles Javadoc into zip for $variant.name."
|
|
||||||
classifier = "javadoc"
|
|
||||||
from tasks["javadoc${variant.name.capitalize()}"]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: 'android-artifacts.gradle'
|
|
||||||
apply from: 'central-publish.gradle'
|
|
||||||
apply from: 'bintray-publish.gradle'
|
|
||||||
|
@ -1,94 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2013 Chris Banes
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
apply plugin: 'maven'
|
|
||||||
apply plugin: 'signing'
|
|
||||||
|
|
||||||
def isReleaseBuild() {
|
|
||||||
return VERSION_NAME.contains("SNAPSHOT") == false
|
|
||||||
}
|
|
||||||
|
|
||||||
def getReleaseRepositoryUrl() {
|
|
||||||
return hasProperty('RELEASE_REPOSITORY_URL') ? RELEASE_REPOSITORY_URL
|
|
||||||
: "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
|
|
||||||
}
|
|
||||||
|
|
||||||
def getSnapshotRepositoryUrl() {
|
|
||||||
return hasProperty('SNAPSHOT_REPOSITORY_URL') ? SNAPSHOT_REPOSITORY_URL
|
|
||||||
: "https://oss.sonatype.org/content/repositories/snapshots/"
|
|
||||||
}
|
|
||||||
|
|
||||||
def getRepositoryUsername() {
|
|
||||||
return hasProperty('NEXUS_USERNAME') ? NEXUS_USERNAME : ""
|
|
||||||
}
|
|
||||||
|
|
||||||
def getRepositoryPassword() {
|
|
||||||
return hasProperty('NEXUS_PASSWORD') ? NEXUS_PASSWORD : ""
|
|
||||||
}
|
|
||||||
|
|
||||||
afterEvaluate { project ->
|
|
||||||
uploadArchives {
|
|
||||||
repositories {
|
|
||||||
mavenDeployer {
|
|
||||||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
|
|
||||||
|
|
||||||
pom.groupId = GROUP
|
|
||||||
pom.artifactId = POM_ARTIFACT_ID
|
|
||||||
pom.version = VERSION_NAME
|
|
||||||
|
|
||||||
repository(url: getReleaseRepositoryUrl()) {
|
|
||||||
authentication(userName: getRepositoryUsername(), password: getRepositoryPassword())
|
|
||||||
}
|
|
||||||
snapshotRepository(url: getSnapshotRepositoryUrl()) {
|
|
||||||
authentication(userName: getRepositoryUsername(), password: getRepositoryPassword())
|
|
||||||
}
|
|
||||||
|
|
||||||
pom.project {
|
|
||||||
name POM_NAME
|
|
||||||
packaging POM_PACKAGING
|
|
||||||
description POM_DESCRIPTION
|
|
||||||
url POM_URL
|
|
||||||
|
|
||||||
scm {
|
|
||||||
url POM_SCM_URL
|
|
||||||
connection POM_SCM_CONNECTION
|
|
||||||
developerConnection POM_SCM_DEV_CONNECTION
|
|
||||||
}
|
|
||||||
|
|
||||||
licenses {
|
|
||||||
license {
|
|
||||||
name POM_LICENCE_NAME
|
|
||||||
url POM_LICENCE_URL
|
|
||||||
distribution POM_LICENCE_DIST
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
developers {
|
|
||||||
developer {
|
|
||||||
id POM_DEVELOPER_ID
|
|
||||||
name POM_DEVELOPER_NAME
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
signing {
|
|
||||||
required { isReleaseBuild() && gradle.taskGraph.hasTask("uploadArchives") }
|
|
||||||
sign configurations.archives
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
POM_NAME=which provides simple Tranformations to Glide
|
|
||||||
POM_ARTIFACT_ID=glide-transformations
|
|
||||||
POM_PACKAGING=aar
|
|
Loading…
x
Reference in New Issue
Block a user