Skip to content

Commit 9b3e42e

Browse files
authored
Merge pull request #153 from ProjectMapK/fix/build-gradle
Fix build gradle
2 parents 24e1439 + 4024457 commit 9b3e42e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
// Since group cannot be obtained by generateKogeraVersion, it is defined as a constant.
1212
val groupStr = "io.github.projectmapk"
1313
val jacksonVersion = "2.15.2"
14-
val generatedSrcPath = "$buildDir/generated/kotlin"
14+
val generatedSrcPath = "${layout.buildDirectory.get()}/generated/kotlin"
1515

1616
group = groupStr
1717
version = "${jacksonVersion}-beta5"
@@ -97,6 +97,10 @@ public val kogeraVersion: Version = VersionUtil.parseVersion("$version", "$group
9797
kotlinOptions.jvmTarget = "1.8"
9898
}
9999

100+
compileTestKotlin {
101+
kotlinOptions.jvmTarget = "1.8"
102+
}
103+
100104
test {
101105
useJUnitPlatform()
102106
}

0 commit comments

Comments
 (0)