Skip to content

Commit c3f6433

Browse files
committed
Java version fix 0.2
1 parent 1a8b5d5 commit c3f6433

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ tasks{
8383
val java: String by project
8484
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach { kotlinOptions { jvmTarget = java } }
8585
withType<io.gitlab.arturbosch.detekt.Detekt> { jvmTarget = java }
86-
withType<Test>() { useJUnitPlatform() }
86+
withType<Test>().configureEach { useJUnitPlatform() }
87+
// withType<Jar> { duplicatesStrategy = DuplicatesStrategy.EXCLUDE }
8788
}
8889

8990
detekt {

src/test/kotlin/org/springdoc/openapi/gradle/plugin/OpenApiGradlePluginTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class OpenApiGradlePluginTest {
3535
3636
group = 'com.example'
3737
version = '0.0.1-SNAPSHOT'
38-
sourceCompatibility = '11'
38+
sourceCompatibility = '17'
3939
4040
repositories {
4141
mavenCentral()

0 commit comments

Comments
 (0)