Skip to content

Commit

Permalink
chore: fixed mockito version
Browse files Browse the repository at this point in the history
  • Loading branch information
kikoso committed Jan 10, 2024
1 parent 5a9d0a7 commit 8e6ed34
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ android {
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "17"
}
namespace 'com.google.maps.android.ktx.demo'
}
Expand Down
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ buildscript {
'junit' : '4.12',
'kotlin' : '1.8.21',
'kotlinxCoroutines': '1.6.0',
'mockito' : '3.0.0',
'mockito' : '3.8.0',
'mockitoInline' : '5.2.0',
'mockitoKotlin' : '2.2.0',
'androidMapsSdk' : '18.2.0',
'volley' : '1.2.0',
Expand All @@ -54,11 +55,13 @@ buildscript {
'kotlin' : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$versions.kotlin",
'kotlinxCoroutines': "org.jetbrains.kotlinx:kotlinx-coroutines-android:$versions.kotlinxCoroutines",
'mockito' : "org.mockito:mockito-core:$versions.mockito",
'mockitoInline' : "org.mockito:mockito-inline:$versions.mockitoInline",
'mockitoKotlin' : "com.nhaarman.mockitokotlin2:mockito-kotlin:$versions.mockitoKotlin",
'playServices' : [
'maps' : "com.google.android.gms:play-services-maps:$versions.androidMapsSdk",
],
'volley' : "com.android.volley:volley:$versions.volley",

]

repositories {
Expand Down
7 changes: 4 additions & 3 deletions maps-ktx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ android {
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions {
freeCompilerArgs += '-Xexplicit-api=strict'
jvmTarget = "1.8"
jvmTarget = "17"
}
buildFeatures {
viewBinding true
Expand All @@ -54,4 +54,5 @@ dependencies {
testImplementation deps.junit
testImplementation deps.mockito
testImplementation deps.mockitoKotlin
testImplementation deps.mockitoInline
}
7 changes: 4 additions & 3 deletions maps-utils-ktx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ android {
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions {
freeCompilerArgs += '-Xexplicit-api=strict'
jvmTarget = "1.8"
jvmTarget = "17"
}
buildFeatures {
viewBinding true
Expand All @@ -58,4 +58,5 @@ dependencies {
testImplementation deps.junit
testImplementation deps.mockito
testImplementation deps.mockitoKotlin

}

0 comments on commit 8e6ed34

Please sign in to comment.