Skip to content

Commit 10e13fd

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents 994995a + 1167f79 commit 10e13fd

File tree

7 files changed

+19
-221
lines changed

7 files changed

+19
-221
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ android:
99
- tools
1010

1111
# The BuildTools version used by your project
12-
- build-tools-24.0.1
12+
- build-tools-25.0.0
1313

1414
# The SDK version used to compile your project
15-
- android-24
15+
- android-25
1616

1717
# Additional components
1818
- extra-android-m2repository

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ buildscript {
44
}
55

66
dependencies {
7-
classpath 'com.android.tools.build:gradle:2.1.2'
8-
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
7+
classpath 'com.android.tools.build:gradle:2.2.2'
8+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
99
}
1010
}
1111

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ 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-2.12-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip

library/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
apply plugin: 'com.android.library'
22

33
android {
4-
compileSdkVersion 24
5-
buildToolsVersion '24.0.1'
4+
compileSdkVersion 25
5+
buildToolsVersion '25.0.0'
66

77
defaultConfig {
8-
minSdkVersion 4
9-
targetSdkVersion 24
8+
minSdkVersion 9
9+
targetSdkVersion 25
1010
versionCode 1
1111
versionName "1.0"
1212
}
1313
}
1414

1515
dependencies {
16-
compile "com.android.support:support-v4:24.1.1"
16+
compile "com.android.support:support-core-utils:25.0.0"
1717
}
1818

1919
apply from: 'https://raw.githubusercontent.com/Commit451/gradle-android-javadocs/1.0.0/gradle-android-javadocs.gradle'

library/src/main/java/uk/co/senab/photoview/PhotoViewAttacher.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ private static void checkZoomLevels(float minZoom, float midZoom,
8686
}
8787

8888
/**
89-
* @return true if the ImageView exists, and it's Drawable exists
89+
* @return true if the ImageView exists, and its Drawable exists
9090
*/
9191
private static boolean hasDrawable(ImageView imageView) {
9292
return null != imageView && null != imageView.getDrawable();
@@ -111,11 +111,11 @@ private static boolean isSupportedScaleType(final ScaleType scaleType) {
111111
}
112112

113113
/**
114-
* Set's the ImageView's ScaleType to Matrix.
114+
* Sets the ImageView's ScaleType to Matrix.
115115
*/
116116
private static void setImageViewScaleTypeMatrix(ImageView imageView) {
117117
/**
118-
* PhotoView sets it's own ScaleType to Matrix, then diverts all calls
118+
* PhotoView sets its own ScaleType to Matrix, then diverts all calls
119119
* setScaleType to this.setScaleType automatically.
120120
*/
121121
if (null != imageView && !(imageView instanceof IPhotoView)) {

sample/LICENSE

Lines changed: 0 additions & 202 deletions
This file was deleted.

sample/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 24
5-
buildToolsVersion '24.0.1'
4+
compileSdkVersion 25
5+
buildToolsVersion '25.0.0'
66

77
defaultConfig {
88
applicationId "uk.co.senab.photoview.sample"
9-
minSdkVersion 8
10-
targetSdkVersion 24
9+
minSdkVersion 9
10+
targetSdkVersion 25
1111
versionCode 100
1212
versionName "1.0"
1313
}
@@ -18,7 +18,7 @@ android {
1818

1919
dependencies {
2020
compile project(':library')
21-
compile 'com.android.support:appcompat-v7:24.1.1'
22-
compile 'com.android.support:recyclerview-v7:24.1.1'
21+
compile 'com.android.support:appcompat-v7:25.0.0'
22+
compile 'com.android.support:recyclerview-v7:25.0.0'
2323
compile 'com.squareup.picasso:picasso:2.5.2'
2424
}

0 commit comments

Comments
 (0)