diff --git a/build.gradle.kts b/build.gradle.kts index b232074..68f7f49 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ version = "0.1.0-SNAPSHOT" description = "A GitHub project template to help you start with Chutney Kotlin DSL" plugins { - kotlin("jvm") version "1.6.21" apply true + kotlin("jvm") version "1.8.22" apply true } repositories { @@ -13,13 +13,13 @@ repositories { } dependencies { - api("org.jetbrains.kotlin:kotlin-stdlib:1.6.21") - api("com.chutneytesting:chutney-kotlin-dsl:[1.0.0,)") + api("org.jetbrains.kotlin:kotlin-stdlib:1.8.22") + api("com.chutneytesting:chutney-kotlin-dsl:[2.0.0,)") testImplementation("org.junit.jupiter:junit-jupiter:5.8.2") } tasks.withType { - kotlinOptions.jvmTarget = "11" + kotlinOptions.jvmTarget = "17" } tasks.withType { diff --git a/pom.xml b/pom.xml index d38e9dc..8ae75fe 100644 --- a/pom.xml +++ b/pom.xml @@ -12,12 +12,12 @@ UTF-8 UTF-8 - 11 - 11 + 17 + 17 - 1.6.21 + 1.8.22 - [1.0.0,) + [2.0.0,) 5.8.2 2.22.2 diff --git a/src/main/kotlin/com/chutneytesting/hello/SynchronizeToServer.kt b/src/main/kotlin/com/chutneytesting/hello/SynchronizeToServer.kt index e7d437e..1caf139 100644 --- a/src/main/kotlin/com/chutneytesting/hello/SynchronizeToServer.kt +++ b/src/main/kotlin/com/chutneytesting/hello/SynchronizeToServer.kt @@ -4,7 +4,7 @@ import com.chutneytesting.kotlin.synchronize.synchronise import com.chutneytesting.kotlin.util.ChutneyServerInfo val chutneyLocalServer = ChutneyServerInfo( - remoteServerUrl = "https://localhost:8081", remoteUserName = "admin", remoteUserPassword = "admin" + url = "https://localhost:8081", user = "admin", password = "admin" ) fun main() {