Skip to content

Commit f886300

Browse files
committed
dependencies
1 parent b97e98c commit f886300

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ plugins {
44
id 'java-library'
55
id 'maven-publish'
66
id 'signing'
7-
id "org.sonarqube" version "3.3"
8-
id 'org.jetbrains.kotlin.jvm' version '1.6.21'
9-
id "com.github.ben-manes.versions" version "0.42.0"
10-
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
7+
alias(libs.plugins.kotlin)
8+
alias(libs.plugins.sonar)
9+
alias(libs.plugins.nexus)
10+
alias(libs.plugins.versions)
1111
}
1212

1313
group projectGroupId
@@ -24,11 +24,11 @@ repositories {
2424
testing {
2525
suites {
2626
test {
27-
useJUnitJupiter('5.8.2')
27+
useJUnitJupiter(libs.versions.junit.get())
2828
}
2929

3030
testInt(JvmTestSuite) {
31-
useJUnitJupiter('5.8.2')
31+
useJUnitJupiter(libs.versions.junit.get())
3232
testType = TestSuiteType.INTEGRATION_TEST
3333

3434
dependencies {
@@ -73,7 +73,7 @@ compileKotlin.dependsOn "generateVersion"
7373

7474
compileTestGroovy {
7575
dependsOn 'compileKotlin'
76-
classpath += files(compileKotlin.destinationDir)
76+
classpath += files(compileKotlin.destinationDirectory)
7777
}
7878

7979
kotlin {

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ jackson = ["jackson-databind", "jackson-yaml", "jackson-kotlin"]
4040
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
4141
nexus = { id = "io.github.gradle-nexus.publish-plugin", version = "1.1.0" }
4242
jacoco = { id = "org.barfuin.gradle.jacocolog", version = "2.0.0" }
43+
versions = { id = "com.github.ben-manes.versions", version = "0.42.0" }
44+
sonar = { id = "org.sonarqube", version = "3.4.0.2513" }

0 commit comments

Comments
 (0)