File tree Expand file tree Collapse file tree 7 files changed +25
-70
lines changed
Expand file tree Collapse file tree 7 files changed +25
-70
lines changed Original file line number Diff line number Diff line change 22
33buildscript {
44 ext {
5- kotlin_version = ' 1.3.72 '
5+ kotlin_version = ' 1.4.30 '
66 }
77 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 ,
1611 ]
1712 repositories {
1813 google()
1914 jcenter()
2015 }
2116 dependencies {
22- classpath ' com.android.tools.build:gradle:4.0.0 '
17+ classpath ' com.android.tools.build:gradle:4.1.2 '
2318 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
2419 }
2520}
@@ -28,7 +23,6 @@ allprojects {
2823 repositories {
2924 google()
3025 jcenter()
31- maven { url ' https://jitpack.io' }
3226 }
3327}
3428
Original file line number Diff line number Diff line change @@ -15,7 +15,5 @@ org.gradle.jvmargs=-Xmx1536m
1515# Android operating system, and which are packaged with your app's APK
1616# https://developer.android.com/topic/libraries/support-library/androidx-rn
1717android.useAndroidX =true
18- # Automatically convert third-party libraries to use AndroidX
19- android.enableJetifier =true
2018# Kotlin code style for this project: "official" or "obsolete":
2119kotlin.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
22distributionBase =GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =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 {
1111 versionName " 1.0"
1212
1313 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
14-
1514 }
1615
1716 buildTypes {
@@ -32,14 +31,12 @@ repositories {
3231}
3332
3433dependencies {
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" )
3935
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"
4138
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'
4542}
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
2-
32apply plugin : ' kotlin-android'
43
5- apply plugin : ' kotlin-android-extensions'
6-
74android {
85 compileSdkVersion versions. compileSdk
96 defaultConfig {
@@ -26,19 +23,13 @@ android {
2623 }
2724}
2825
29- repositories {
30- mavenCentral()
31- }
32-
3326dependencies {
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" )
3828
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"
4031
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'
4435}
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ android {
77 minSdkVersion versions. minSdk
88 targetSdkVersion versions. targetSdk
99
10- consumerProguardFiles ' lib-proguard-rules.txt'
11-
1210 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1311 }
1412
@@ -38,15 +36,13 @@ android {
3836}
3937
4038dependencies {
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"
4440
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"
4743
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 "
5046 testImplementation " org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version "
51- testImplementation " com.squareup.okhttp3:mockwebserver: $o khttp "
47+ testImplementation " com.squareup.okhttp3:mockwebserver"
5248}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments