From 132b7a00918d09caf2c5b8193ea11c86e96fe6b0 Mon Sep 17 00:00:00 2001 From: Svetlana Isakova Date: Wed, 21 Jul 2021 21:55:02 +0200 Subject: [PATCH] Update to Kotlin 1.5 --- .../Java Interoperability/Examples/src/NPEOnPlatformType.kt | 2 +- build.gradle | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Appendices/Java Interoperability/Examples/src/NPEOnPlatformType.kt b/Appendices/Java Interoperability/Examples/src/NPEOnPlatformType.kt index a94156c0..1153b7ea 100644 --- a/Appendices/Java Interoperability/Examples/src/NPEOnPlatformType.kt +++ b/Appendices/Java Interoperability/Examples/src/NPEOnPlatformType.kt @@ -15,5 +15,5 @@ fun main() { capture { val zn: JTool = JTool.get(null) // [5] } eq "NullPointerException: " + - "JTool.get(null) must not be null" + "get(null) must not be null" } \ No newline at end of file diff --git a/build.gradle b/build.gradle index 528a6471..9ebf73eb 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.4.0' + ext.kotlin_version = '1.5.20' repositories { mavenCentral() } @@ -34,8 +34,8 @@ allprojects { compile "junit:junit:4.12" // Logging support for samples: - compile 'io.github.microutils:kotlin-logging:1.6.24' - compile 'org.slf4j:slf4j-simple:1.8.0-beta4' + compile 'io.github.microutils:kotlin-logging:2.0.10' + compile 'org.slf4j:slf4j-simple:1.7.32' } compileKotlin.destinationDir = compileJava.destinationDir compileKotlin {