Skip to content

Commit

Permalink
update Kotlin version
Browse files Browse the repository at this point in the history
  • Loading branch information
aSemy committed Feb 22, 2023
1 parent 0264c73 commit 4d8649d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import java.util.*

plugins {
`kotlin-dsl`
}
Expand All @@ -6,13 +8,20 @@ repositories {
gradlePluginPortal()
}

// TODO define versions in Gradle Version Catalog
val properties = file("../gradle.properties").inputStream().use {
Properties().apply { load(it) }
}

val kotlinVersion = properties["kotlin_version"]

dependencies {
// Import Gradle Plugins that will be used in the buildSrc pre-compiled script plugins, and any `build.gradle.kts`
// files in the project.
// Use their Maven coordinates (plus versions), not Gradle plugin IDs!
// This should be the only place that Gradle plugin versions are defined, so they are aligned across all build scripts

implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
implementation("com.github.jengelman.gradle.plugins:shadow:2.0.4")
implementation("gradle.plugin.com.github.johnrengelman:shadow:7.1.2")
implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.12.1")
Expand Down

0 comments on commit 4d8649d

Please sign in to comment.