Version bump & add changelog

This commit is contained in:
Jamie McDonald 2014-06-16 22:43:43 +02:00
parent cfba5a90c2
commit 070dd42acb
3 changed files with 39 additions and 6 deletions

5
CHANGELOG.md Normal file
View File

@ -0,0 +1,5 @@
## 0.9.9
* Downscale source images that are too big to load
* Fix shading outside crop area on some API levels
* Add option to always show crop handles

View File

@ -1,2 +1,9 @@
VERSION = 0.9.8
VERSION_CODE = 1
VERSION=0.9.9
VERSION_CODE=1
signing.keyId=63A46540
signing.secretKeyRingFile=/Users/James/.gnupg/secring.gpg
signing.password=*secret*
sonatypeUsername=jdamcd
sonatypePassword=*secret*

View File

@ -1,5 +1,6 @@
apply plugin: 'android-library'
apply plugin: 'maven'
apply plugin: 'signing'
archivesBaseName = 'android-crop'
@ -24,19 +25,38 @@ dependencies {
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.0'
}
configurations {
archives {
extendsFrom configurations.default
}
}
signing {
required { has("release") && gradle.taskGraph.hasTask("uploadArchives") }
sign configurations.archives
}
uploadArchives {
configuration = configurations.archives
repositories {
mavenDeployer {
repository(url: 'http://maven.int.s-cloud.net/content/repositories/releases')
beforeDeployment {
MavenDeployment deployment -> signing.signPom(deployment)
}
repository(url: 'https://oss.sonatype.org/service/local/staging/deploy/maven2') {
authentication(userName: sonatypeUsername, password: sonatypePassword)
}
pom.project {
name 'android-crop'
name 'Android Crop'
packaging 'aar'
description 'A simple Activity for cropping images'
description 'An Android library that provides an image cropping Activity'
url 'https://github.com/jdamcd/android-crop'
scm {
url 'https://github.com/jdamcd/android-crop'
url 'scm:git@github.com:jdamcd/android-crop.git'
connection 'scm:git@github.com:jdamcd/android-crop.git'
developerConnection 'scm:git@github.com:jdamcd/android-crop.git'
}
@ -57,6 +77,7 @@ uploadArchives {
developer {
id 'jdamcd'
name 'Jamie McDonald'
email 'mcdonald@soundcloud.com'
}
}
}