Skip to content

Commit

Permalink
Target API 26.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjudd committed Aug 18, 2017
1 parent 49142cf commit cea1cce
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 28 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ android:
components:
- tools
- platform-tools
- build-tools-25.0.2
- android-25
- extra-android-m2repository
- extra-android-support
- build-tools-26.0.1
- android-26

licenses:
- 'android-sdk-license.*'
Expand All @@ -24,7 +22,10 @@ after_success:

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache

3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ subprojects { project ->
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
maven {
url "https://maven.google.com"
}
}

apply plugin: 'checkstyle'
Expand Down
9 changes: 4 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ POM_SCM_DEV_CONNECTION=scm:[email protected]:bumptech/glide.git
POM_DEVELOPER_ID=sjudd
POM_DEVELOPER_NAME=Sam Judd
POM_DEVELOPER_EMAIL[email protected]
SUPPORT_V4_VERSION=25.3.1
SUPPORT_V7_VERSION=25.3.1
ANDROID_SUPPORT_VERSION=26.0.1
VOLLEY_VERSION=1.0.0
OK_HTTP_VERSION=3.0.1
ANDROID_GRADLE_VERSION=2.3.0
Expand All @@ -31,9 +30,9 @@ TRUTH_VERSION=0.26
FINDBUGS_VERSION=3.0.0
JACOCO_VERSION=0.7.1.201405082137

COMPILE_SDK_VERSION=25
BUILD_TOOLS_VERSION=25.0.2
TARGET_SDK_VERSION=25
COMPILE_SDK_VERSION=26
BUILD_TOOLS_VERSION=26.0.1
TARGET_SDK_VERSION=26
MIN_SDK_VERSION=14

org.gradle.jvmargs=-Xmx2048M
2 changes: 1 addition & 1 deletion integration/gifencoder/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies {
testCompile "junit:junit:${JUNIT_VERSION}"
testCompile "org.mockito:mockito-all:${MOCKITO_VERSION}"
testCompile "org.robolectric:robolectric:${ROBOLECTRIC_VERSION}"
testCompile "com.android.support:support-v4:${SUPPORT_V4_VERSION}"
testCompile "com.android.support:support-v4:${ANDROID_SUPPORT_VERSION}"
}

android {
Expand Down
2 changes: 1 addition & 1 deletion integration/okhttp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies {
annotationProcessor project(':annotation:compiler')

compile "com.squareup.okhttp:okhttp:2.7.1"
compile "com.android.support:support-annotations:{$SUPPORT_V4_VERSION}"
compile "com.android.support:support-annotations:{$ANDROID_SUPPORT_VERSION}"
}

android {
Expand Down
2 changes: 1 addition & 1 deletion integration/okhttp3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies {
annotationProcessor project(':annotation:compiler')

compile "com.squareup.okhttp3:okhttp:${OK_HTTP_VERSION}"
compile "com.android.support:support-annotations:{$SUPPORT_V4_VERSION}"
compile "com.android.support:support-annotations:${ANDROID_SUPPORT_VERSION}"
}

android {
Expand Down
2 changes: 1 addition & 1 deletion integration/recyclerview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.library'

dependencies {
compile project(':library')
provided "com.android.support:recyclerview-v7:${SUPPORT_V7_VERSION}"
provided "com.android.support:recyclerview-v7:${ANDROID_SUPPORT_VERSION}"
}

android {
Expand Down
2 changes: 1 addition & 1 deletion integration/volley/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'com.android.library'
dependencies {
compile project(':library')
compile "com.android.volley:volley:${VOLLEY_VERSION}"
compile "com.android.support:support-annotations:{$SUPPORT_V4_VERSION}"
compile "com.android.support:support-annotations:${ANDROID_SUPPORT_VERSION}"
annotationProcessor project(':annotation:compiler')

testCompile project(":testutil")
Expand Down
6 changes: 3 additions & 3 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ dependencies {
compile project(':third_party:gif_decoder')
compile project(':third_party:disklrucache')
compile project(':annotation')
compile "com.android.support:support-v4:${SUPPORT_V4_VERSION}"
provided "com.android.support:appcompat-v7:${SUPPORT_V7_VERSION}"
compile "com.android.support:support-fragment:${ANDROID_SUPPORT_VERSION}"
provided "com.android.support:appcompat-v7:${ANDROID_SUPPORT_VERSION}"
testCompile project(':testutil')
testCompile 'com.google.guava:guava-testlib:18.0'
testCompile "com.google.truth:truth:${TRUTH_VERSION}"
testCompile "junit:junit:${JUNIT_VERSION}"
testCompile "org.mockito:mockito-core:${MOCKITO_VERSION}"
testCompile "org.robolectric:robolectric:${ROBOLECTRIC_VERSION}"
testCompile "com.squareup.okhttp3:mockwebserver:${MOCKWEBSERVER_VERSION}"
testCompile "com.android.support:support-v4:${SUPPORT_V4_VERSION}"
testCompile "com.android.support:support-v4:${ANDROID_SUPPORT_VERSION}"
}

android.testOptions.unitTests.all {
Expand Down
3 changes: 1 addition & 2 deletions samples/contacturi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ apply plugin: 'com.android.application'

dependencies {
compile project(':library')
compile "com.android.support:support-v4:${SUPPORT_V4_VERSION}"
compile "com.android.support:appcompat-v7:${SUPPORT_V7_VERSION}"
compile "com.android.support:appcompat-v7:${ANDROID_SUPPORT_VERSION}"
annotationProcessor project(':annotation:compiler')
}

Expand Down
5 changes: 2 additions & 3 deletions samples/flickr/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ dependencies {
}
annotationProcessor project(':annotation:compiler')

compile "com.android.support:support-v4:${SUPPORT_V4_VERSION}"
compile "com.android.support:appcompat-v7:${SUPPORT_V7_VERSION}"
compile "com.android.support:appcompat-v7:${ANDROID_SUPPORT_VERSION}"
compile "com.mcxiaoke.volley:library:${VOLLEY_VERSION}"
compile "com.android.support:recyclerview-v7:${SUPPORT_V7_VERSION}"
compile "com.android.support:recyclerview-v7:${ANDROID_SUPPORT_VERSION}"
}

android {
Expand Down
3 changes: 1 addition & 2 deletions samples/gallery/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ dependencies {
compile(project(':integration:recyclerview')) {
transitive = false
}
compile "com.android.support:support-v4:${SUPPORT_V4_VERSION}"
compile "com.android.support:recyclerview-v7:${SUPPORT_V7_VERSION}"
compile "com.android.support:recyclerview-v7:${ANDROID_SUPPORT_VERSION}"
annotationProcessor project(':annotation:compiler')
}

Expand Down
4 changes: 2 additions & 2 deletions samples/giphy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ dependencies {
compile(project(':integration:recyclerview')) {
transitive = false
}
compile 'com.google.code.gson:gson:2.4'
compile "com.android.support:recyclerview-v7:${SUPPORT_V7_VERSION}"
compile 'com.google.code.gson:gson:2.7'
compile "com.android.support:recyclerview-v7:${ANDROID_SUPPORT_VERSION}"
annotationProcessor project(':annotation:compiler')
}

Expand Down
4 changes: 2 additions & 2 deletions third_party/gif_decoder/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apply plugin: 'com.android.library'

dependencies {
compile "com.android.support:support-annotations:${SUPPORT_V4_VERSION}"
compile "com.android.support:support-annotations:${ANDROID_SUPPORT_VERSION}"

testCompile project(':testutil')
testCompile "com.android.support:support-v4:${SUPPORT_V4_VERSION}"
testCompile "com.android.support:support-v4:${ANDROID_SUPPORT_VERSION}"
testCompile "com.google.truth:truth:${TRUTH_VERSION}"
testCompile "junit:junit:${JUNIT_VERSION}"
testCompile "org.mockito:mockito-core:${MOCKITO_VERSION}"
Expand Down

0 comments on commit cea1cce

Please sign in to comment.