Skip to content

Commit 69a904d

Browse files
committed
Reverted build changes. Release 3.7.1
1 parent aa0ac4b commit 69a904d

10 files changed

+71
-409
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Version 3.x.x includes breaking changes. Please view the [migration guide](https
7373

7474
## Quick start
7575

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

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

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ buildscript {
55
jcenter()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:2.3.0'
8+
classpath 'com.android.tools.build:gradle:2.2.2'
99
}
1010
}

gradle.properties

-17
This file was deleted.

gradle/wrapper/gradle-wrapper.jar

-4.21 KB
Binary file not shown.
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Thu Mar 23 17:36:44 SGT 2017
1+
#Fri Nov 04 18:54:35 GMT 2016
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip

gradlew

-172
This file was deleted.

gradlew.bat

-84
This file was deleted.

library/build.gradle

+55-15
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,63 @@
1-
apply plugin: 'com.android.library'
1+
apply plugin: 'android-library'
2+
apply plugin: 'maven'
3+
apply plugin: 'signing'
24

35
group = 'com.davemorrissey.labs'
46
archivesBaseName = 'subsampling-scale-image-view'
5-
version = '3.7.0'
7+
version = '3.7.1'
68

7-
android {
8-
compileSdkVersion 25
9-
buildToolsVersion "25.0.2"
9+
signing {
10+
required { has("release") && gradle.taskGraph.hasTask("uploadArchives") }
11+
sign configurations.archives
12+
}
13+
14+
uploadArchives {
15+
configuration = configurations.archives
16+
repositories.mavenDeployer {
17+
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
18+
19+
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
20+
authentication(userName: sonatypeUsername, password: sonatypePassword)
21+
}
22+
23+
pom.project {
24+
name 'SubsamplingScaleImageView'
25+
packaging 'aar'
26+
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.'
27+
url 'https://github.com/davemorrissey/subsampling-scale-image-view'
1028

11-
defaultConfig {
12-
consumerProguardFiles 'proguard-rules.txt'
29+
scm {
30+
url 'scm:[email protected]:davemorrissey/subsampling-scale-image-view.git'
31+
connection 'scm:[email protected]:davemorrissey/subsampling-scale-image-view.git'
32+
developerConnection 'scm:[email protected]:davemorrissey/subsampling-scale-image-view.git'
33+
}
34+
35+
licenses {
36+
license {
37+
name 'The Apache Software License, Version 2.0'
38+
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
39+
distribution 'repo'
40+
}
41+
}
42+
43+
developers {
44+
developer {
45+
id 'davemorrissey'
46+
name 'Dave Morrissey'
47+
}
48+
}
49+
}
1350
}
51+
}
52+
53+
dependencies {
54+
compile fileTree(dir: 'libs', include: '*.jar')
55+
compile 'com.android.support:support-annotations:25.0.0'
56+
}
57+
58+
android {
59+
compileSdkVersion 23
60+
buildToolsVersion "23.0.3"
1461

1562
sourceSets {
1663
main {
@@ -35,11 +82,4 @@ android {
3582
debug.setRoot('build-types/debug')
3683
release.setRoot('build-types/release')
3784
}
38-
}
39-
40-
dependencies {
41-
compile fileTree(dir: 'libs', include: '*.jar')
42-
compile 'com.android.support:support-annotations:25.3.0'
43-
}
44-
45-
apply from: rootProject.file('release.gradle')
85+
}

0 commit comments

Comments
 (0)