Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 4540ff9

Browse files
committed
chore: Update {compileSdk,targetSdk,buildTools,AppCompat}Version, extract constants
1 parent 92156f8 commit 4540ff9

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

algoliasearch/build-online.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@ ext {
3131
}
3232

3333
apply from: "common.gradle"
34+
35+
android {
36+
buildToolsVersion BUILD_TOOLS_VERSION
37+
}

algoliasearch/common.gradle

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,16 @@ ext {
2727
PUBLISH_GROUP_ID = rootProject.properties["PUBLISH_GROUP_ID"] ?: "com.algolia"
2828
// NOTE: This is the official version number used during publication.
2929
PUBLISH_VERSION = '3.10.1'
30+
APPCOMPAT_VERSION = '25.3.0'
31+
BUILD_TOOLS_VERSION = '25.0.2'
3032
}
3133

3234
android {
33-
compileSdkVersion 24
34-
buildToolsVersion "24.0.3"
35+
compileSdkVersion 25
36+
buildToolsVersion BUILD_TOOLS_VERSION
3537
defaultConfig {
3638
minSdkVersion 10
37-
targetSdkVersion 24
39+
targetSdkVersion 25
3840
versionCode 1
3941
versionName PUBLISH_VERSION
4042
}
@@ -73,8 +75,8 @@ repositories {
7375
}
7476

7577
dependencies {
76-
compile 'com.android.support:appcompat-v7:24.2.1'
77-
compile 'com.android.support:support-annotations:24.2.1'
78+
compile "com.android.support:appcompat-v7:$APPCOMPAT_VERSION"
79+
compile "com.android.support:support-annotations:$APPCOMPAT_VERSION"
7880
compile fileTree(include: ['*.jar'], dir: 'libs')
7981

8082
testCompile "junit:junit:4.12"
@@ -87,7 +89,7 @@ dependencies {
8789
testCompile "org.powermock:powermock-classloading-xstream:1.6.1"
8890
testCompile "org.powermock:powermock-api-mockito:1.6.1"
8991

90-
javadoc 'com.android.support:support-annotations:24.2.1'
92+
javadoc "com.android.support:support-annotations:$APPCOMPAT_VERSION"
9193
}
9294

9395
// Javadoc

0 commit comments

Comments
 (0)