Skip to content

Commit 85b624c

Browse files
committed
update to latest SDK and gradle
1 parent 4ac1339 commit 85b624c

7 files changed

Lines changed: 27 additions & 25 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android:
77
- tools
88
- platform-tools
99
- tools
10-
- build-tools-25.0.2
11-
- android-25
10+
- build-tools-26.0.1
11+
- android-26
1212
- extra-android-m2repository
1313

1414
script:

build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@ buildscript {
44
}
55
dependencies {
66
classpath 'com.android.tools.build:gradle:2.3.3'
7-
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
7+
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
88
}
99
}
1010

1111
allprojects {
1212
repositories {
13-
mavenLocal()
1413
jcenter()
14+
mavenLocal()
1515
mavenCentral()
16+
maven {
17+
url "https://maven.google.com"
18+
}
1619
}
1720
}

cropper/build.gradle

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
apply plugin: 'com.android.library'
22
// https://docs.gradle.org/current/userguide/publishing_maven.html
33
// http://www.flexlabs.org/2013/06/using-local-aar-android-library-packages-in-gradle-builds
4-
apply plugin: 'com.github.dcendents.android-maven'
54
apply plugin: 'maven-publish'
65

76
group='com.github.ArthurHub'
@@ -15,11 +14,11 @@ ext {
1514

1615
android {
1716

18-
compileSdkVersion 25
19-
buildToolsVersion '25.0.2'
17+
compileSdkVersion 26
18+
buildToolsVersion '26.0.1'
2019
defaultConfig {
21-
minSdkVersion 10
22-
targetSdkVersion 25
20+
minSdkVersion 14
21+
targetSdkVersion 26
2322
versionCode 1
2423
versionName PUBLISH_VERSION
2524
}
@@ -52,7 +51,7 @@ publishing {
5251
apply from: 'https://raw.githubusercontent.com/ArthurHub/release-android-library/master/android-release-aar.gradle'
5352

5453
dependencies {
55-
compile 'com.android.support:appcompat-v7:25.3.1'
56-
compile "com.android.support:exifinterface:25.3.1"
54+
compile 'com.android.support:appcompat-v7:26.0.2'
55+
compile "com.android.support:exifinterface:26.0.2"
5756
}
5857

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-3.3-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

quick-start/build.gradle

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

33
android {
4-
compileSdkVersion 25
5-
buildToolsVersion '25.0.2'
4+
compileSdkVersion 26
5+
buildToolsVersion '26.0.1'
66

77
defaultConfig {
88
minSdkVersion 14
9-
targetSdkVersion 25
9+
targetSdkVersion 26
1010
versionCode 1
1111
versionName '1.0'
1212
}
@@ -17,5 +17,5 @@ android {
1717

1818
dependencies {
1919
compile project(':cropper')
20-
compile 'com.android.support:appcompat-v7:25.3.1'
20+
compile 'com.android.support:appcompat-v7:26.0.2'
2121
}

sample/build.gradle

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

33
android {
4-
compileSdkVersion 25
5-
buildToolsVersion '25.0.2'
4+
compileSdkVersion 26
5+
buildToolsVersion '26.0.1'
66

77
defaultConfig {
88
minSdkVersion 14
9-
targetSdkVersion 25
9+
targetSdkVersion 26
1010
versionCode 1
1111
versionName '1.0'
1212
}
@@ -17,5 +17,5 @@ android {
1717

1818
dependencies {
1919
compile project(':cropper')
20-
compile 'com.android.support:appcompat-v7:25.3.1'
20+
compile 'com.android.support:appcompat-v7:26.0.2'
2121
}

test/build.gradle

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

33
android {
4-
compileSdkVersion 25
5-
buildToolsVersion '25.0.2'
4+
compileSdkVersion 26
5+
buildToolsVersion '26.0.1'
66

77
defaultConfig {
8-
minSdkVersion 11
9-
targetSdkVersion 25
8+
minSdkVersion 14
9+
targetSdkVersion 26
1010
versionCode 1
1111
versionName '1.0'
1212
}
@@ -16,7 +16,7 @@ android {
1616
}
1717

1818
dependencies {
19-
compile 'com.android.support:appcompat-v7:25.3.1'
19+
compile 'com.android.support:appcompat-v7:26.0.2'
2020
compile 'com.theartofdev.edmodo:android-image-cropper:2.4.+'
2121

2222
}

0 commit comments

Comments
 (0)