Skip to content

Commit

Permalink
chore: upgrade kotlin version
Browse files Browse the repository at this point in the history
  • Loading branch information
jsalaber committed Apr 2, 2024
1 parent 3d15680 commit 67165bc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 18
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Run build with Gradle Wrapper
run: ./gradlew build --warning-mode=all --stacktrace
run: ./gradlew build --debug
# Execute unit tests
- name: Unit Test
run: ./gradlew testDebugUnitTest
Expand Down
3 changes: 2 additions & 1 deletion android-client-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,15 @@ ext {
jackson_jparser_version = "2.13.5"
gson_mapper_version = "2.8.6"
coroutines_version = '1.6.2'
kotlin_reflect_version = '1.7.0'
kotlin_reflect_version = '1.9.0'

junit_version = "5.8.2"
mockito_core_version = '4.6.1'
mockito_inline_version = '2.13.0'
mockk_version = '1.13.10'
hamcrest_version = "2.2"
okhttp_version = "4.9.3"
kotlin_version = '1.9.0'

android_core_version = "2.1.0"
androidx_junit_version = "1.1.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class DevCycleClientTests {
generateDispatcher(config = config)
val initializeLatch = CountDownLatch(1)

val client = createClient("pretend-its-real", mockWebServer.url("/").toString(), 100L, false, null, LogLevel.VERBOSE )
val client = createClient("pretend-its-real", mockWebServer.url("/").toString(), 100L, false, null, LogLevel.VERBOSE)
client.onInitialized(object: DevCycleCallback<String> {
override fun onSuccess(result: String) {
calledBack = true
Expand Down Expand Up @@ -329,9 +329,9 @@ class DevCycleClientTests {
try {
println("printing the path")
println(it.path)

Assertions.assertEquals(true, it.path?.contains("expected_userid"))
} catch (e: org.opentest4j.AssertionFailedError) {
println(it.path)
throw e
}

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:8.1.0'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0'
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.8.2.0"
}
}
Expand Down

0 comments on commit 67165bc

Please sign in to comment.