Skip to content
This repository was archived by the owner on Sep 15, 2020. It is now read-only.

Commit 9f7765a

Browse files
committed
Downgrade compile target, fix #6
1 parent fca9d4c commit 9f7765a

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

build.gradle.kts

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2+
13
buildscript {
24
dependencies {
35
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.31")
4-
classpath("org.jsoup:jsoup:1.12.1")
56
}
67
}
78
plugins {
@@ -10,7 +11,11 @@ plugins {
1011
}
1112

1213
group = "net.mamoe"
13-
version = "1.1.3"
14+
version = "1.1.4"
15+
16+
dependencies {
17+
api("org.jsoup:jsoup:1.12.1")
18+
}
1419

1520
// See https://github.com/JetBrains/gradle-intellij-plugin/
1621
intellij {
@@ -32,7 +37,15 @@ allprojects {
3237
}
3338
}
3439

35-
36-
dependencies {
37-
40+
val compileKotlin: KotlinCompile by tasks
41+
compileKotlin.kotlinOptions {
42+
jvmTarget = "1.8"
43+
}
44+
val compileTestKotlin: KotlinCompile by tasks
45+
compileTestKotlin.kotlinOptions {
46+
jvmTarget = "1.8"
47+
}
48+
java {
49+
sourceCompatibility = JavaVersion.VERSION_1_8
50+
targetCompatibility = JavaVersion.VERSION_1_8
3851
}

0 commit comments

Comments
 (0)