Skip to content

Commit 095aa6e

Browse files
author
Nayan Hajratwala
committed
upgraded kotlin & gradle versions
1 parent 22f8f46 commit 095aa6e

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

Diff for: build.gradle.kts

+4-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
`java-gradle-plugin`
33
id("com.gradle.plugin-publish") version "0.11.0"
44
id("org.sonarqube") version "2.8"
5-
kotlin("jvm") version "1.3.70"
5+
kotlin("jvm") version "1.4.31"
66
`maven-publish`
77
}
88

@@ -39,7 +39,6 @@ publishing {
3939
}
4040

4141
dependencies {
42-
implementation(kotlin("stdlib-jdk8"))
4342
implementation(kotlin("reflect"))
4443
implementation(group = "khttp", name = "khttp", version = "1.0.0")
4544
implementation(group = "com.google.code.gson", name = "gson", version = "2.8.6")
@@ -68,11 +67,8 @@ pluginBundle {
6867
tags = listOf("springdoc", "openapi", "swagger")
6968
}
7069

71-
tasks {
72-
compileKotlin {
73-
kotlinOptions.jvmTarget = "1.8"
74-
}
75-
compileTestKotlin {
76-
kotlinOptions.jvmTarget = "1.8"
70+
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
71+
kotlinOptions {
72+
jvmTarget = "1.8"
7773
}
7874
}

Diff for: gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)