Skip to content

Commit 573d69e

Browse files
committed
Update test lib
1 parent 5ba5be7 commit 573d69e

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ buildscript {
1212
'annotation' : '1.1.0',
1313
'core_ktx' : '1.2.0',
1414
'appcompat' : '1.1.0',
15-
'constraintLayout': '1.1.3'
15+
'constraintLayout': '1.1.3',
16+
'junit' : '4.13',
17+
'robolectric' : '4.3.1'
1618
]
1719
repositories {
1820
google()

sdk-example-java/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ repositories {
3434
dependencies {
3535
implementation fileTree(dir: 'libs', include: ['*.jar'])
3636

37-
implementation "androidx.appcompat:appcompat:${versions.appcompat}"
38-
implementation "androidx.constraintlayout:constraintlayout:${versions.constraintLayout}"
37+
implementation "androidx.appcompat:appcompat:$versions.appcompat"
38+
implementation "androidx.constraintlayout:constraintlayout:$versions.constraintLayout"
3939

4040
implementation 'com.github.studyplus:Studyplus-Android-SDK:2.5.1'
4141

42-
testImplementation 'junit:junit:4.12'
42+
testImplementation "junit:junit:$versions.junit"
4343
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
4444
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
4545
}

sdk-example-kt/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ repositories {
3333
dependencies {
3434
implementation fileTree(include: ['*.jar'], dir: 'libs')
3535
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
36-
implementation "androidx.appcompat:appcompat:${versions.appcompat}"
37-
implementation "androidx.constraintlayout:constraintlayout:${versions.constraintLayout}"
36+
implementation "androidx.appcompat:appcompat:$versions.appcompat"
37+
implementation "androidx.constraintlayout:constraintlayout:$versions.constraintLayout"
3838

3939
implementation 'com.github.studyplus:Studyplus-Android-SDK:2.5.1'
4040

41-
testImplementation 'junit:junit:4.12'
41+
testImplementation "junit:junit:$versions.junit"
4242
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
4343
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
4444
}

studyplus-android-sdk/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ dependencies {
5050
def okhttp = "4.4.1"
5151
implementation "com.squareup.okhttp3:okhttp:$okhttp"
5252

53-
testImplementation 'junit:junit:4.12'
54-
testImplementation 'org.robolectric:robolectric:4.0.2'
53+
testImplementation "junit:junit:$versions.junit"
54+
testImplementation "org.robolectric:robolectric:$versions.robolectric"
5555
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
5656
testImplementation "com.squareup.okhttp3:mockwebserver:$okhttp"
5757
}

0 commit comments

Comments
 (0)