Update gradle and build dependencies
app/build.gradle
1 | 1 | apply plugin: 'com.android.application' | |
2 | 2 | ||
3 | 3 | android { | |
4 | - | compileSdkVersion 28 | |
4 | + | compileSdkVersion 29 | |
5 | 5 | defaultConfig { | |
6 | 6 | applicationId "eu.lepiller.nani" | |
7 | 7 | minSdkVersion 15 | |
8 | - | targetSdkVersion 28 | |
8 | + | targetSdkVersion 29 | |
9 | 9 | versionCode 1 | |
10 | 10 | versionName "0.1" | |
11 | - | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | |
11 | + | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | |
12 | 12 | } | |
13 | 13 | buildTypes { | |
14 | 14 | release { | |
… | |||
20 | 20 | ||
21 | 21 | dependencies { | |
22 | 22 | implementation fileTree(dir: 'libs', include: ['*.jar']) | |
23 | - | implementation 'com.android.support:appcompat-v7:28.0.0' | |
24 | - | implementation 'com.android.support.constraint:constraint-layout:1.1.3' | |
25 | - | implementation 'com.android.support:design:28.0.0' | |
23 | + | implementation 'androidx.appcompat:appcompat:1.1.0' | |
24 | + | implementation 'androidx.constraintlayout:constraintlayout:1.1.3' | |
25 | + | implementation 'com.google.android.material:material:1.1.0' | |
26 | 26 | implementation 'com.andree-surya:moji4j:1.0.0' | |
27 | 27 | implementation project(path: ':furiganatextview') | |
28 | 28 | testImplementation 'junit:junit:4.12' | |
29 | - | androidTestImplementation 'com.android.support.test:runner:1.0.2' | |
30 | - | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' | |
29 | + | androidTestImplementation 'androidx.test.ext:junit:1.1.1' | |
30 | + | androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' | |
31 | 31 | } |
build.gradle
1 | 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. | |
2 | 2 | ||
3 | 3 | buildscript { | |
4 | - | ext.kotlin_version = '1.3.20' | |
4 | + | ext.kotlin_version = '1.3.71' | |
5 | 5 | repositories { | |
6 | 6 | google() | |
7 | 7 | jcenter() | |
8 | - | ||
9 | 8 | } | |
10 | 9 | dependencies { | |
11 | - | classpath 'com.android.tools.build:gradle:3.3.2' | |
10 | + | classpath 'com.android.tools.build:gradle:3.6.3' | |
12 | 11 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
13 | 12 | ||
14 | 13 | // NOTE: Do not place your application dependencies here; they belong | |
… | |||
20 | 19 | repositories { | |
21 | 20 | google() | |
22 | 21 | jcenter() | |
23 | - | ||
24 | 22 | } | |
25 | 23 | } | |
26 | 24 |
furiganatextview/build.gradle
2 | 2 | apply plugin: 'kotlin-android' | |
3 | 3 | ||
4 | 4 | android { | |
5 | - | compileSdkVersion 28 | |
5 | + | compileSdkVersion 29 | |
6 | 6 | ||
7 | 7 | defaultConfig { | |
8 | 8 | minSdkVersion 15 | |
9 | - | targetSdkVersion 28 | |
9 | + | targetSdkVersion 29 | |
10 | 10 | versionCode 1 | |
11 | 11 | versionName "1.0" | |
12 | 12 | } | |
… | |||
21 | 21 | dependencies { | |
22 | 22 | implementation fileTree(dir: 'libs', include: ['*.jar']) | |
23 | 23 | testImplementation 'junit:junit:4.12' | |
24 | - | implementation 'com.android.support:appcompat-v7:28.0.0' | |
24 | + | implementation 'androidx.appcompat:appcompat:1.1.0' | |
25 | 25 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | |
26 | 26 | } | |
27 | 27 | repositories { |