This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +18
-16
lines changed
Expand file tree Collapse file tree 3 files changed +18
-16
lines changed Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
22
33android {
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 {
2626dependencies {
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
Original file line number Diff line number Diff 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 {
2521task clean (type : Delete ) {
2622 delete rootProject. buildDir
2723}
24+
25+ ext {
26+ compileSdkVersion = 28
27+ minSdkVersion = 16
28+ supportLibraryVersion = ' 28.0.0'
29+ }
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
22
33android {
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 {
2626dependencies {
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'
You can’t perform that action at this time.
0 commit comments