Set jvmTarget to 8

pull/388/head
Koitharu 2 years ago
parent dea70974bf
commit 41eea1c420
Signed by: Koitharu
GPG Key ID: 676DEE768C17A9D7

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="KotlinJpsPluginSettings">
<option name="version" value="1.9.0" />
<option name="version" value="1.9.20" />
</component>
</project>

@ -37,6 +37,11 @@ This library provides manga sources.
Versions are available on [JitPack](https://jitpack.io/#KotatsuApp/kotatsu-parsers)
When used in Android
projects, [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring) with
the [NIO specification](https://developer.android.com/studio/write/java11-nio-support-table) should be enabled to
support Java 8+ features.
3. Usage in code
```kotlin

@ -36,7 +36,7 @@ compileTestKotlin {
}
kotlin {
jvmToolchain(11)
jvmToolchain(8)
sourceSets {
main.kotlin.srcDirs += 'build/generated/ksp/main/kotlin'
}

@ -1,5 +1,5 @@
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.8.22'
id 'org.jetbrains.kotlin.jvm' version '1.9.20'
}
repositories {
mavenCentral()
@ -8,6 +8,6 @@ repositories {
dependencies {
implementation gradleApi()
implementation 'org.simpleframework:simple-xml:2.7.1'
implementation 'com.soywiz.korlibs.korte:korte-jvm:4.0.9'
implementation 'com.soywiz.korlibs.korte:korte-jvm:4.0.10'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3'
}

Loading…
Cancel
Save