Skip to content

Commit

Permalink
update scala and kotlin versions in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xvik committed Apr 17, 2024
1 parent 5764d11 commit 7b3264d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class KotlinSourceKitTest extends AbstractKitTest {
setup:
build """
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.6.21'
id 'org.jetbrains.kotlin.jvm' version '1.9.23'
id 'ru.vyarus.animalsniffer'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class ScalaSourceKitTest extends AbstractKitTest {
repositories { mavenCentral()}
dependencies {
signature 'org.codehaus.mojo.signature:java16-sun:1.0@signature'
implementation 'org.scala-lang:scala-library:2.11.12'
implementation 'org.scala-lang:scala-library:2.13.13'
implementation 'org.slf4j:slf4j-api:1.7.25'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import java.lang.Boolean

object Sample {

def main(args: Array[String]) = {
def main(args: Array[String]): Unit = {
// method added in 1.7
Boolean.compare(true, true)
}

def someth() {
def someth(): Unit = {
// class added in 1.7
Paths.get("/tmp")
LoggerFactory.getLogger("sample logger")
Expand Down

0 comments on commit 7b3264d

Please sign in to comment.