Skip to content

Commit

Permalink
tech: Bump kotlin dsl to 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rbenyoussef committed Oct 18, 2023
1 parent f910a1d commit 715262c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'
- uses: actions/cache@v2
with:
path: ~/.m2/repository
Expand Down
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ 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 {
mavenCentral()
}

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<KotlinCompile> {
kotlinOptions.jvmTarget = "11"
kotlinOptions.jvmTarget = "17"
}

tasks.withType<JavaCompile> {
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>

<kotlin.version>1.6.21</kotlin.version>
<kotlin.version>1.8.22</kotlin.version>

<chutney-kotlin-dsl.version>[1.0.0,)</chutney-kotlin-dsl.version>
<chutney-kotlin-dsl.version>[2.0.0,)</chutney-kotlin-dsl.version>
<junit-jupiter.version>5.8.2</junit-jupiter.version>

<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 715262c

Please # to comment.