Skip to content

Commit 7e3c63f

Browse files
committed
Update gradles and dependencies
1 parent af9a49a commit 7e3c63f

File tree

3 files changed

+20
-28
lines changed

3 files changed

+20
-28
lines changed

app/build.gradle

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,34 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 25
5-
buildToolsVersion "27.0.3"
6-
4+
compileSdkVersion 28
5+
buildToolsVersion "29.0.3"
76

87
defaultConfig {
98
applicationId "com.phikal.regex"
109
minSdkVersion 16
11-
targetSdkVersion 24
10+
targetSdkVersion 28
1211
versionCode 5
1312
versionName "1.3.1"
1413
}
14+
1515
buildTypes {
1616
release {
1717
minifyEnabled true
18-
shrinkResources true
1918
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2019
}
2120
}
21+
2222
compileOptions {
2323
sourceCompatibility JavaVersion.VERSION_1_8
2424
targetCompatibility JavaVersion.VERSION_1_8
2525
}
26+
27+
lintOptions {
28+
disable 'GoogleAppIndexingWarning'
29+
}
2630
}
2731

2832
dependencies {
29-
implementation fileTree(include: ['*.jar'], dir: 'libs')
30-
implementation 'com.android.support:appcompat-v7:25.3.1'
31-
implementation 'com.android.support:design:25.3.1'
32-
implementation 'com.android.support:support-v4:25.3.1'
33+
implementation 'com.android.support:support-v4:28.0.0'
3334
}

app/proguard-rules.pro

-17
This file was deleted.

build.gradle

+10-2
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,25 @@
22

33
buildscript {
44
repositories {
5-
jcenter()
65
google()
6+
jcenter()
77
}
8+
89
dependencies {
910
classpath 'com.android.tools.build:gradle:3.6.3'
11+
12+
// NOTE: Do not place your application dependencies here; they belong
13+
// in the individual module build.gradle files
1014
}
1115
}
1216

1317
allprojects {
1418
repositories {
15-
jcenter()
1619
google()
20+
jcenter()
1721
}
1822
}
23+
24+
task clean(type: Delete) {
25+
delete rootProject.buildDir
26+
}

0 commit comments

Comments
 (0)