Skip to content

Commit 415cc5e

Browse files
committed
Update project to work with Android Studio SDK 28.0.3
Update Gradle Version to 4.10.1 Update Android Plugin Version to 3.3.2 Tested Run using Emulator Pixel API 27
1 parent d3cdc37 commit 415cc5e

10 files changed

+71
-33
lines changed

.idea/caches/build_file_checksums.ser

588 Bytes
Binary file not shown.

.idea/caches/gradle_models.ser

212 KB
Binary file not shown.

.idea/codeStyles/Project.xml

+29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+14-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

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

33
android {
4-
compileSdkVersion 24
5-
buildToolsVersion "24.0.0"
4+
compileSdkVersion 28
5+
buildToolsVersion "28.0.3"
66
defaultConfig {
77
applicationId "com.urizev.flags.test"
88
minSdkVersion 21
9-
targetSdkVersion 24
9+
targetSdkVersion 28
1010
versionCode 200
1111
versionName "0.2"
1212
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -20,15 +20,15 @@ android {
2020
}
2121

2222
dependencies {
23-
compile fileTree(include: ['*.jar'], dir: 'libs')
24-
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
23+
implementation fileTree(include: ['*.jar'], dir: 'libs')
24+
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
2525
exclude group: 'com.android.support', module: 'support-annotations'
2626
})
27-
compile project(':flags-lib')
27+
implementation project(':flags-lib')
2828

29-
compile 'com.android.support:appcompat-v7:24.2.1'
30-
testCompile 'junit:junit:4.12'
31-
compile 'com.android.support:recyclerview-v7:24.2.1'
32-
compile 'com.android.support:cardview-v7:24.2.1'
29+
implementation 'com.android.support:appcompat-v7:28.0.+'
30+
testImplementation 'junit:junit:4.12'
31+
implementation 'com.android.support:recyclerview-v7:28.0.+'
32+
implementation 'com.android.support:cardview-v7:28.0.+'
3333
}
3434

build.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
buildscript {
44
repositories {
5+
google()
56
jcenter()
67
}
78
dependencies {
8-
classpath 'com.android.tools.build:gradle:2.2.0-rc2'
9+
classpath 'com.android.tools.build:gradle:3.3.2'
910
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
1011
// NOTE: Do not place your application dependencies here; they belong
1112
// in the individual module build.gradle files
@@ -14,6 +15,7 @@ buildscript {
1415

1516
allprojects {
1617
repositories {
18+
google()
1719
jcenter()
1820
}
1921
}

flags-lib/build.gradle

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ apply plugin: 'com.github.dcendents.android-maven'
44
group = "com.github.urizev"
55

66
android {
7-
compileSdkVersion 24
8-
buildToolsVersion "24.0.0"
7+
compileSdkVersion 28
8+
buildToolsVersion "28.0.3"
99

1010
defaultConfig {
1111
minSdkVersion 21
12-
targetSdkVersion 24
12+
targetSdkVersion 28
1313
versionCode 100
1414
versionName "0.1"
1515

@@ -25,12 +25,12 @@ android {
2525
}
2626

2727
dependencies {
28-
compile fileTree(dir: 'libs', include: ['*.jar'])
29-
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
28+
implementation fileTree(dir: 'libs', include: ['*.jar'])
29+
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
3030
exclude group: 'com.android.support', module: 'support-annotations'
3131
})
32-
compile 'com.android.support:appcompat-v7:24.2.1'
33-
testCompile 'junit:junit:4.12'
32+
androidTestImplementation 'com.android.support:appcompat-v7:28.0.+'
33+
testImplementation 'junit:junit:4.12'
3434
}
3535

3636
// build a jar with source files
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Mon Dec 28 10:00:20 PST 2015
1+
#Sat Apr 20 14:40:58 EEST 2019
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip

0 commit comments

Comments
 (0)