diff --git a/integration-test/build.gradle.kts b/integration-test/build.gradle.kts index fe85587bdb8..1e8da618c4d 100644 --- a/integration-test/build.gradle.kts +++ b/integration-test/build.gradle.kts @@ -3,6 +3,9 @@ * This software is licensed under the Apache License version 2. */ +import java.io.IOException +import kotlin.io.* + plugins { `maven-publish` id("java") @@ -144,7 +147,7 @@ tasks { } else { println("checkContainerRunning command execution failed with exit code $exitCode") } - } catch (e: java.io.IOException) { + } catch (e: IOException) { println("checkContainerRunning command execution failed: ${e.message}") } } @@ -164,7 +167,7 @@ tasks { } else { println("checkDockerRunning Command execution failed with exit code $exitCode") } - } catch (e: java.io.IOException) { + } catch (e: IOException) { println("checkDockerRunning command execution failed: ${e.message}") } printDockerCheckInfo()