Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 8cd8101

Browse files
committed
SDK 28
1 parent 345bdbf commit 8cd8101

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed

app/build.gradle

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

33
android {
4-
compileSdkVersion 27
4+
compileSdkVersion rootProject.compileSdkVersion
55
defaultConfig {
66
applicationId "com.ferfalk.simplesearchviewexample"
7-
minSdkVersion 16
8-
targetSdkVersion 27
7+
minSdkVersion rootProject.minSdkVersion
8+
targetSdkVersion rootProject.compileSdkVersion
99
versionCode 1
1010
versionName "1.0"
1111

@@ -26,9 +26,9 @@ android {
2626
dependencies {
2727
implementation fileTree(include: ['*.jar'], dir: 'libs')
2828

29-
implementation 'com.android.support:appcompat-v7:27.1.1'
29+
implementation "com.android.support:appcompat-v7:$supportLibraryVersion"
30+
implementation "com.android.support:design:$supportLibraryVersion"
3031
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
31-
implementation 'com.android.support:design:27.1.1'
3232

3333
implementation project(':simplesearchview')
3434

build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@ buildscript {
77
jcenter()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:3.2.0'
11-
12-
13-
// NOTE: Do not place your application dependencies here; they belong
14-
// in the individual module build.gradle files
10+
classpath 'com.android.tools.build:gradle:3.2.1'
1511
}
1612
}
1713

@@ -25,3 +21,9 @@ allprojects {
2521
task clean(type: Delete) {
2622
delete rootProject.buildDir
2723
}
24+
25+
ext {
26+
compileSdkVersion = 28
27+
minSdkVersion = 16
28+
supportLibraryVersion = '28.0.0'
29+
}

simplesearchview/build.gradle

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

33
android {
4-
compileSdkVersion 27
4+
compileSdkVersion rootProject.compileSdkVersion
55
defaultConfig {
6-
minSdkVersion 16
7-
targetSdkVersion 27
6+
minSdkVersion rootProject.minSdkVersion
7+
targetSdkVersion rootProject.compileSdkVersion
88
versionCode 1
9-
versionName "1.0"
9+
versionName "0.1.2"
1010

1111
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1212
vectorDrawables.useSupportLibrary = true
@@ -26,9 +26,9 @@ android {
2626
dependencies {
2727
implementation fileTree(dir: 'libs', include: ['*.jar'])
2828

29-
implementation 'com.android.support:appcompat-v7:27.1.1'
29+
implementation "com.android.support:appcompat-v7:$supportLibraryVersion"
30+
implementation "com.android.support:design:$supportLibraryVersion"
3031
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
31-
implementation 'com.android.support:design:27.1.1'
3232

3333
testImplementation 'junit:junit:4.12'
3434
androidTestImplementation 'com.android.support.test:runner:1.0.2'

0 commit comments

Comments
 (0)