Skip to content

Commit

Permalink
Upgrade embedded Kotlin version to 1.5.31
Browse files Browse the repository at this point in the history
  • Loading branch information
bamboo committed Sep 21, 2021
1 parent 8edc491 commit 15e7bfa
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import gradlebuild.modules.model.License
abstract class ExternalModulesExtension {

val groovyVersion = "3.0.8"
val kotlinVersion = "1.5.30"
val kotlinVersion = "1.5.31"

fun futureKotlin(module: String) = "org.jetbrains.kotlin:kotlin-$module:$kotlinVersion"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ groovy=3.0.8
guava=30.1.1-jre
junit-jupiter=5.7.2
junit=4.13.2
kotlin=1.5.30
kotlin=1.5.31
scala-library=2.13.6
scala-xml=1.2.0
scala=2.13
Expand Down
2 changes: 1 addition & 1 deletion subprojects/docs/src/docs/userguide/compatibility.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ For older Gradle versions, please see the table below which Java version is supp
|===

== Kotlin
Gradle is tested with Kotlin 1.3.72 through 1.5.30.
Gradle is tested with Kotlin 1.3.72 through 1.5.31.

== Groovy
Gradle is tested with Groovy 1.5.8 through 3.0.8.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ group = 'com.example.platform'
dependencies {
constraints {
api('com.android.tools.build:gradle:4.1.1')
api('org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin:1.5.30')
api('org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.30')
api('org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin:1.5.31')
api('org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.31')
api('org.springframework.boot:org.springframework.boot.gradle.plugin:2.4.0')
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ group = "com.example.platform"
dependencies {
constraints {
api("com.android.tools.build:gradle:4.1.1")
api("org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin:1.5.30")
api("org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.30")
api("org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin:1.5.31")
api("org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.31")
api("org.springframework.boot:org.springframework.boot.gradle.plugin:2.4.0")
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompile

plugins {
id "org.jetbrains.kotlin.jvm" version "1.5.30"
id "org.jetbrains.kotlin.jvm" version "1.5.31"
}

repositories {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompile

plugins {
kotlin("jvm") version "1.5.30"
kotlin("jvm") version "1.5.31"
}

repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
plugins {
id("com.android.application") version "4.1.2" apply false
// end::android[]
kotlin("android") version "1.5.30" apply false
kotlin("android.extensions") version "1.5.30" apply false
kotlin("android") version "1.5.31" apply false
kotlin("android.extensions") version "1.5.31" apply false
// tag::android[]
}
// end::android[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
plugins {
id("com.android.application") version "4.1.2"
// end::android[]
kotlin("android") version "1.5.30"
kotlin("android.extensions") version "1.5.30"
kotlin("android") version "1.5.31"
kotlin("android.extensions") version "1.5.31"
// tag::android[]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class NestedInputKotlinImplementationTrackingIntegrationTest extends AbstractPlu
def "task action defined in Kotlin 1.5 can be tracked when using language version 1.4"() {
file("buildSrc/build.gradle.kts") << """
plugins {
kotlin("jvm") version("1.5.30")
kotlin("jvm") version("1.5.31")
`java-gradle-plugin`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class KotlinGradlePluginVersions {
private static final List<String> LATEST_VERSIONS = [
'1.3.72',
'1.4.0', '1.4.10', '1.4.21', '1.4.31',
'1.5.0', '1.5.30'
'1.5.0', '1.5.31'
]

List<String> getLatests() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ abstract class AbstractSmokeTest extends Specification {

// https://plugins.gradle.org/plugin/org.jetbrains.kotlin.plugin.allopen
// https://plugins.gradle.org/plugin/org.jetbrains.kotlin.plugin.spring
static kotlinPlugins = Versions.of("1.4.21-2", "1.4.31", "1.5.30")
static kotlinPlugins = Versions.of("1.4.21-2", "1.4.31", "1.5.31")

// https://plugins.gradle.org/plugin/com.moowork.grunt
// https://plugins.gradle.org/plugin/com.moowork.gulp
Expand Down

0 comments on commit 15e7bfa

Please sign in to comment.