Skip to content

Commit ad82564

Browse files
authored
Merge pull request #28 from kyay10/versions
Add libs.versions.toml
2 parents 8c8bbe9 + d9300ca commit ad82564

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ which is pre-configured in this repository.
2727

2828
[//]: # (Links)
2929

30-
[test-framework]: https://github.com/JetBrains/kotlin/blob/2.1.20/compiler/test-infrastructure/ReadMe.md
30+
[test-framework]: https://github.com/JetBrains/kotlin/blob/master/compiler/test-infrastructure/ReadMe.md
3131
[test-plugin]: https://github.com/JetBrains/kotlin-compiler-devkit

build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
plugins {
2-
kotlin("multiplatform") version "2.2.20" apply false
3-
kotlin("jvm") version "2.2.20" apply false
4-
id("com.github.gmazzo.buildconfig") version "5.6.5"
5-
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.16.3" apply false
2+
alias(libs.plugins.kotlin.multiplatform) apply false
3+
alias(libs.plugins.kotlin.jvm) apply false
4+
alias(libs.plugins.build.config)
5+
alias(libs.plugins.binary.compatibility.validator) apply false
66
}
77

88
allprojects {

compiler-plugin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies {
3535
annotationsRuntimeClasspath(project(":plugin-annotations"))
3636

3737
// Dependencies required to run the internal test framework.
38-
testRuntimeOnly("junit:junit:4.13.2")
38+
testRuntimeOnly(libs.junit)
3939
testRuntimeOnly(kotlin("reflect"))
4040
testRuntimeOnly(kotlin("test"))
4141
testRuntimeOnly(kotlin("script-runtime"))

gradle/libs.versions.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[versions]
2+
kotlin = "2.2.20"
3+
build-config = "5.6.5"
4+
bcv = "0.16.3"
5+
junit = "4.13.2"
6+
7+
[libraries]
8+
junit = { module = "junit:junit", version.ref = "junit" }
9+
10+
[plugins]
11+
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
12+
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
13+
build-config = { id = "com.github.gmazzo.buildconfig", version.ref = "build-config" }
14+
binary-compatibility-validator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version.ref = "bcv" }

0 commit comments

Comments
 (0)