Skip to content

Commit caedf87

Browse files
committed
target java 1.8
1 parent deb4cac commit caedf87

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,15 @@ compileTestGroovy {
5959
classpath += files(compileKotlin.destinationDir)
6060
}
6161

62+
compileKotlin {
63+
kotlinOptions.jvmTarget = "1.8"
64+
}
65+
6266
dependencies {
6367
implementation 'org.codehaus.groovy:groovy:2.5.10'
6468
implementation 'org.codehaus.groovy:groovy-nio:2.5.10'
65-
implementation 'org.jetbrains.kotlin:kotlin-stdlib'
69+
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
70+
6671
implementation ('io.swagger.parser.v3:swagger-parser:2.0.19') {
6772
exclude group: 'io.swagger.parser.v3', module: 'swagger-parser-v2-converter'
6873
exclude group: 'io.swagger.core.v3', module: 'swagger-annotations'

0 commit comments

Comments
 (0)