File tree 6 files changed +21
-11
lines changed
6 files changed +21
-11
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import io.github.petertrr.configureVersioning
3
3
import org.jetbrains.kotlin.gradle.targets.jvm.tasks.KotlinJvmTest
4
4
5
5
plugins {
6
- kotlin( " multiplatform " ) version " 1.5.0 "
6
+ alias(libs.plugins.kotlin.multiplatform)
7
7
jacoco
8
- id(" com.github.ben-manes.versions" ) version " 0.38 .0"
8
+ id(" com.github.ben-manes.versions" ) version " 0.39 .0"
9
9
}
10
10
11
11
configureVersioning()
@@ -40,7 +40,7 @@ kotlin {
40
40
val jvmTest by getting {
41
41
dependencies {
42
42
implementation(kotlin(" test-junit5" ))
43
- implementation(" org .junit.jupiter:junit-jupiter-engine:5.7.1 " )
43
+ implementation(libs .junit.jupiter.engine )
44
44
}
45
45
}
46
46
val jsTest by getting {
@@ -72,8 +72,8 @@ val jacocoTestReportTask by tasks.register<JacocoReport>("jacocoTestReport") {
72
72
additionalSourceDirs(kotlin.sourceSets[" commonMain" ].kotlin.sourceDirectories)
73
73
classDirectories.setFrom(file(" $buildDir /classes/kotlin/jvm" ))
74
74
reports {
75
- xml.isEnabled = true
76
- html.isEnabled = true
75
+ xml.required.set( true )
76
+ html.required.set( true )
77
77
}
78
78
}
79
79
jvmTestTask.finalizedBy(jacocoTestReportTask)
Original file line number Diff line number Diff line change @@ -5,11 +5,10 @@ plugins {
5
5
repositories {
6
6
gradlePluginPortal()
7
7
mavenCentral()
8
- jcenter()
9
8
}
10
9
11
10
dependencies {
12
11
implementation(" org.ajoberstar.reckon:reckon-gradle:0.13.0" )
13
- implementation(" org.jetbrains.dokka:dokka-gradle-plugin:1.4.20 " )
14
- implementation(" io.github.gradle-nexus:publish-plugin:1.0 .0" )
12
+ implementation(" org.jetbrains.dokka:dokka-gradle-plugin:1.5.30 " )
13
+ implementation(" io.github.gradle-nexus:publish-plugin:1.1 .0" )
15
14
}
Original file line number Diff line number Diff line change 1
1
kotlin.code.style =official
2
2
org.gradle.jvmargs =-Xmx2g -XX:MaxMetaspaceSize =512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding =UTF-8
3
- org.gradle.parallel =true
4
- org.gradle.vfs.watch =true
3
+ org.gradle.caching =true
4
+ org.gradle.parallel =true
Original file line number Diff line number Diff line change
1
+ [versions ]
2
+ kotlin = " 1.5.31"
3
+ junit = " 5.8.1"
4
+
5
+ [plugins ]
6
+ kotlin-multiplatform = { id = " org.jetbrains.kotlin.multiplatform" , version.ref = " kotlin" }
7
+
8
+ [libraries ]
9
+ junit-jupiter-api = { module = " org.junit.jupiter:junit-jupiter-api" , version.ref = " junit" }
10
+ junit-jupiter-engine = { module = " org.junit.jupiter:junit-jupiter-engine" , version.ref = " junit" }
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.0 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.2 -bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 1
1
rootProject.name = " kotlin-multiplatform-diff"
2
+ enableFeaturePreview(" VERSION_CATALOGS" )
You can’t perform that action at this time.
0 commit comments