diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5ce7902..51b72434 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: - name: Install Kotlin run: | - curl -o kotlin-compiler.zip -L https://github.com/JetBrains/kotlin/releases/download/v1.7.0/kotlin-compiler-1.7.0.zip + curl -o kotlin-compiler.zip -L https://github.com/JetBrains/kotlin/releases/download/v1.7.22/kotlin-compiler-1.7.22.zip if [[ "$OSTYPE" != "darwin"* ]] then diff --git a/Dockerfile b/Dockerfile index 062f921b..1b93f6dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ LABEL "com.github.actions.description"="Runs Kotlin Dangerfiles" LABEL "com.github.actions.icon"="zap" LABEL "com.github.actions.color"="blue" -ARG KOTLINC_VERSION="1.7.0" +ARG KOTLINC_VERSION="1.7.22" ARG DANGER_KOTLIN_VERSION="1.3.0" # Install dependencies diff --git a/danger-kotlin-sample-plugin/build.gradle b/danger-kotlin-sample-plugin/build.gradle index c4516d25..fc1b7120 100644 --- a/danger-kotlin-sample-plugin/build.gradle +++ b/danger-kotlin-sample-plugin/build.gradle @@ -9,7 +9,7 @@ buildscript { } plugins { - id 'org.jetbrains.kotlin.jvm' version '1.7.0' + id 'org.jetbrains.kotlin.jvm' version '1.7.22' } apply plugin: 'danger-kotlin-plugin-installer' diff --git a/dependencyVersions.gradle b/dependencyVersions.gradle index 84a637d7..09ab0640 100644 --- a/dependencyVersions.gradle +++ b/dependencyVersions.gradle @@ -20,7 +20,7 @@ project.ext.groupIdOkio = 'com.squareup.okio' project.ext.artifactIdOkio = 'okio' // Kotlin -project.ext.versionKotlin = '1.7.0' +project.ext.versionKotlin = '1.7.22' project.ext.groupIdKotlin = 'org.jetbrains.kotlin' project.ext.groupIdKotlinx = 'org.jetbrains.kotlinx' project.ext.artifactIdKotlinMain = 'kotlin-main-kts' diff --git a/gradle.properties b/gradle.properties index 8109311b..d42974af 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ -kotlinVersion=1.7.0 +kotlinVersion=1.7.22 kotlin.code.style=official systemProp.org.gradle.internal.publish.checksums.insecure=true diff --git a/scripts/install.sh b/scripts/install.sh index 3ad64957..91c3aa17 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -31,8 +31,8 @@ if [[ -n "$sudo" && "$OSTYPE" != "darwin"* ]]; then fi if ! [[ -x "$(command -v kotlinc)" ]]; then - echo "Installing kotlin compiler 1.7.0" - curl -o kotlin-compiler.zip -L https://github.com/JetBrains/kotlin/releases/download/v1.7.0/kotlin-compiler-1.7.0.zip + echo "Installing kotlin compiler 1.7.22" + curl -o kotlin-compiler.zip -L https://github.com/JetBrains/kotlin/releases/download/v1.7.22/kotlin-compiler-1.7.22.zip unzip -d /usr/local/ kotlin-compiler.zip echo 'export PATH=/usr/local/kotlinc/bin:$PATH' >> ~/.bash_profile rm -rf kotlin-compiler.zip