Skip to content

Commit

Permalink
Reverted build changes. Release 3.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
davemorrissey committed Oct 25, 2017
1 parent aa0ac4b commit 69a904d
Show file tree
Hide file tree
Showing 10 changed files with 71 additions and 409 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Version 3.x.x includes breaking changes. Please view the [migration guide](https

## Quick start

**1)** Add `com.davemorrissey.labs:subsampling-scale-image-view:3.7.0` as a dependency in your build.gradle file.
**1)** Add `com.davemorrissey.labs:subsampling-scale-image-view:3.7.1` as a dependency in your build.gradle file.

**2)** Add the view to your layout XML.

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.android.tools.build:gradle:2.2.2'
}
}
17 changes: 0 additions & 17 deletions gradle.properties

This file was deleted.

Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Mar 23 17:36:44 SGT 2017
#Fri Nov 04 18:54:35 GMT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
172 changes: 0 additions & 172 deletions gradlew

This file was deleted.

84 changes: 0 additions & 84 deletions gradlew.bat

This file was deleted.

70 changes: 55 additions & 15 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,63 @@
apply plugin: 'com.android.library'
apply plugin: 'android-library'
apply plugin: 'maven'
apply plugin: 'signing'

group = 'com.davemorrissey.labs'
archivesBaseName = 'subsampling-scale-image-view'
version = '3.7.0'
version = '3.7.1'

android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
signing {
required { has("release") && gradle.taskGraph.hasTask("uploadArchives") }
sign configurations.archives
}

uploadArchives {
configuration = configurations.archives
repositories.mavenDeployer {
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 'SubsamplingScaleImageView'
packaging 'aar'
description 'Custom image views for Android with pinch to zoom, panning, rotation and animation support, with easy extension so you can add your own overlays and touch event detection.'
url 'https://github.com/davemorrissey/subsampling-scale-image-view'

defaultConfig {
consumerProguardFiles 'proguard-rules.txt'
scm {
url 'scm:git@github.com:davemorrissey/subsampling-scale-image-view.git'
connection 'scm:git@github.com:davemorrissey/subsampling-scale-image-view.git'
developerConnection 'scm:git@github.com:davemorrissey/subsampling-scale-image-view.git'
}

licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}

developers {
developer {
id 'davemorrissey'
name 'Dave Morrissey'
}
}
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.android.support:support-annotations:25.0.0'
}

android {
compileSdkVersion 23
buildToolsVersion "23.0.3"

sourceSets {
main {
Expand All @@ -35,11 +82,4 @@ android {
debug.setRoot('build-types/debug')
release.setRoot('build-types/release')
}
}

dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.android.support:support-annotations:25.3.0'
}

apply from: rootProject.file('release.gradle')
}
Loading

0 comments on commit 69a904d

Please sign in to comment.