File tree 7 files changed +25
-70
lines changed
7 files changed +25
-70
lines changed Original file line number Diff line number Diff line change 2
2
3
3
buildscript {
4
4
ext {
5
- kotlin_version = ' 1.3.72 '
5
+ kotlin_version = ' 1.4.30 '
6
6
}
7
7
ext. versions = [
8
- ' compileSdk' : 29 ,
9
- ' minSdk' : 21 ,
10
- ' targetSdk' : 29 ,
11
- ' annotation' : ' 1.1.0' ,
12
- ' appcompat' : ' 1.1.0' ,
13
- ' constraintLayout' : ' 1.1.3' ,
14
- ' junit' : ' 4.13' ,
15
- ' robolectric' : ' 4.3.1'
8
+ ' compileSdk' : 29 ,
9
+ ' minSdk' : 21 ,
10
+ ' targetSdk' : 29 ,
16
11
]
17
12
repositories {
18
13
google()
19
14
jcenter()
20
15
}
21
16
dependencies {
22
- classpath ' com.android.tools.build:gradle:4.0.0 '
17
+ classpath ' com.android.tools.build:gradle:4.1.2 '
23
18
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
24
19
}
25
20
}
@@ -28,7 +23,6 @@ allprojects {
28
23
repositories {
29
24
google()
30
25
jcenter()
31
- maven { url ' https://jitpack.io' }
32
26
}
33
27
}
34
28
Original file line number Diff line number Diff line change @@ -15,7 +15,5 @@ org.gradle.jvmargs=-Xmx1536m
15
15
# Android operating system, and which are packaged with your app's APK
16
16
# https://developer.android.com/topic/libraries/support-library/androidx-rn
17
17
android.useAndroidX =true
18
- # Automatically convert third-party libraries to use AndroidX
19
- android.enableJetifier =true
20
18
# Kotlin code style for this project: "official" or "obsolete":
21
19
kotlin.code.style =official
Original file line number Diff line number Diff line change 1
- # Fri May 29 10:30 :00 JST 2020
1
+ # Wed Feb 24 17:00 :00 JST 2021
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-6.1.1 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.5 -all.zip
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ android {
11
11
versionName " 1.0"
12
12
13
13
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
14
-
15
14
}
16
15
17
16
buildTypes {
@@ -32,14 +31,12 @@ repositories {
32
31
}
33
32
34
33
dependencies {
35
- implementation fileTree(dir : ' libs' , include : [' *.jar' ])
36
-
37
- implementation " androidx.appcompat:appcompat:$versions . appcompat "
38
- implementation " androidx.constraintlayout:constraintlayout:$versions . constraintLayout "
34
+ implementation project(" :studyplus-android-sdk" )
39
35
40
- implementation ' com.github.studyplus:Studyplus-Android-SDK:2.6.2'
36
+ implementation " androidx.appcompat:appcompat:1.2.0"
37
+ implementation " androidx.constraintlayout:constraintlayout:2.0.4"
41
38
42
- testImplementation " junit:junit:$v ersions . junit "
43
- androidTestImplementation ' androidx.test.ext:junit:1.1.1 '
44
- androidTestImplementation ' androidx.test.espresso:espresso-core:3.2 .0'
39
+ testImplementation " junit:junit:4.13 "
40
+ androidTestImplementation ' androidx.test.ext:junit:1.1.2 '
41
+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.3 .0'
45
42
}
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.application'
2
-
3
2
apply plugin : ' kotlin-android'
4
3
5
- apply plugin : ' kotlin-android-extensions'
6
-
7
4
android {
8
5
compileSdkVersion versions. compileSdk
9
6
defaultConfig {
@@ -26,19 +23,13 @@ android {
26
23
}
27
24
}
28
25
29
- repositories {
30
- mavenCentral()
31
- }
32
-
33
26
dependencies {
34
- implementation fileTree(include : [' *.jar' ], dir : ' libs' )
35
- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
36
- implementation " androidx.appcompat:appcompat:$versions . appcompat "
37
- implementation " androidx.constraintlayout:constraintlayout:$versions . constraintLayout "
27
+ implementation project(" :studyplus-android-sdk" )
38
28
39
- implementation ' com.github.studyplus:Studyplus-Android-SDK:2.6.2'
29
+ implementation " androidx.appcompat:appcompat:1.2.0"
30
+ implementation " androidx.constraintlayout:constraintlayout:2.0.4"
40
31
41
- testImplementation " junit:junit:$v ersions . junit "
42
- androidTestImplementation ' androidx.test.ext:junit:1.1.1 '
43
- androidTestImplementation ' androidx.test.espresso:espresso-core:3.2 .0'
32
+ testImplementation " junit:junit:4.13 "
33
+ androidTestImplementation ' androidx.test.ext:junit:1.1.2 '
34
+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.3 .0'
44
35
}
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ android {
7
7
minSdkVersion versions. minSdk
8
8
targetSdkVersion versions. targetSdk
9
9
10
- consumerProguardFiles ' lib-proguard-rules.txt'
11
-
12
10
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
13
11
}
14
12
@@ -38,15 +36,13 @@ android {
38
36
}
39
37
40
38
dependencies {
41
- implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
42
-
43
- implementation " androidx.annotation:annotation:$versions . annotation "
39
+ implementation " androidx.annotation:annotation:1.1.0"
44
40
45
- def okhttp = " 4.7.2 "
46
- implementation " com.squareup.okhttp3:okhttp: $o khttp "
41
+ implementation platform( " com.squareup.okhttp3:okhttp-bom:4.9.1 " )
42
+ implementation " com.squareup.okhttp3:okhttp"
47
43
48
- testImplementation " junit:junit:$v ersions . junit "
49
- testImplementation " org.robolectric:robolectric:$v ersions . robolectric "
44
+ testImplementation " junit:junit:4.13 "
45
+ testImplementation " org.robolectric:robolectric:4.3.1 "
50
46
testImplementation " org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version "
51
- testImplementation " com.squareup.okhttp3:mockwebserver: $o khttp "
47
+ testImplementation " com.squareup.okhttp3:mockwebserver"
52
48
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments