File tree Expand file tree Collapse file tree 3 files changed +12
-24
lines changed Expand file tree Collapse file tree 3 files changed +12
-24
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.application'
2
2
apply plugin : ' kotlin-android'
3
- apply plugin : ' kotlin-android-extensions'
4
3
5
4
android {
6
5
compileSdkVersion 28
@@ -17,8 +16,6 @@ android {
17
16
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
18
17
}
19
18
}
20
- productFlavors {
21
- }
22
19
packagingOptions {
23
20
exclude ' META-INF/ASL2.0'
24
21
exclude ' META-INF/LICENSE'
@@ -27,12 +24,15 @@ android {
27
24
exclude ' META-INF/LICENSE.txt'
28
25
exclude ' META-INF/MANIFEST.MF'
29
26
}
27
+ compileOptions {
28
+ sourceCompatibility JavaVersion . VERSION_1_8
29
+ targetCompatibility JavaVersion . VERSION_1_8
30
+ }
30
31
}
31
32
32
33
dependencies {
33
34
implementation fileTree(include : [' *.jar' ], dir : ' libs' )
34
35
implementation ' com.android.support:appcompat-v7:28.0.0'
35
36
implementation project(' :library' )
36
- implementation ' com.squareup.okhttp3:okhttp:3.4.1'
37
- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
37
+ implementation ' com.squareup.okhttp3:okhttp:4.10.0'
38
38
}
Original file line number Diff line number Diff line change 1
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
2
-
3
1
buildscript {
4
- ext. kotlin_version = ' 1.3.50'
5
2
repositories {
6
3
google()
7
- jcenter ()
4
+ mavenCentral ()
8
5
}
9
6
dependencies {
10
7
classpath ' com.android.tools.build:gradle:4.0.0'
11
- classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
12
-
13
- // NOTE: Do not place your application dependencies here; they belong
14
- // in the individual module build.gradle files
8
+ classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20"
15
9
}
16
10
}
17
11
18
12
allprojects {
19
13
repositories {
20
- jcenter()
21
14
google()
15
+ mavenCentral()
22
16
}
23
17
}
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
apply plugin : ' kotlin-android'
3
- apply plugin : ' kotlin-android-extensions'
4
3
5
4
6
5
android {
7
6
compileSdkVersion 28
8
7
defaultConfig {
9
8
minSdkVersion 14
10
9
targetSdkVersion 28
11
- versionCode 1
12
- versionName " 1.0"
13
10
}
14
11
compileOptions {
15
12
kotlinOptions. freeCompilerArgs + = [' -module-name' , " com.opensource.svgaplayer" ]
@@ -20,7 +17,9 @@ android {
20
17
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
21
18
}
22
19
}
23
- productFlavors {
20
+ compileOptions {
21
+ sourceCompatibility JavaVersion . VERSION_1_8
22
+ targetCompatibility JavaVersion . VERSION_1_8
24
23
}
25
24
packagingOptions {
26
25
exclude ' META-INF/ASL2.0'
@@ -34,10 +33,5 @@ android {
34
33
35
34
36
35
dependencies {
37
- implementation fileTree(include : [' *.jar' ], dir : ' libs' )
38
- implementation ' com.squareup.wire:wire-runtime:2.3.0-RC1'
39
- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
40
- }
41
- repositories {
42
- mavenCentral()
36
+ implementation ' com.squareup.wire:wire-runtime:4.4.1'
43
37
}
You can’t perform that action at this time.
0 commit comments