File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11plugins {
2- kotlin(" jvm" ) version " 1.6.0 "
3- id(" org.jetbrains.dokka" ) version " 1.6.0 "
2+ kotlin(" jvm" ) version " 1.7.21 "
3+ id(" org.jetbrains.dokka" ) version " 1.7.20 "
44 `maven- publish`
55 `java- library`
66}
@@ -13,12 +13,12 @@ repositories {
1313}
1414
1515dependencies {
16- dokkaJekyllPlugin(" org.jetbrains.dokka:kotlin-as-java-plugin:1.6.0 " )
16+ dokkaJekyllPlugin(" org.jetbrains.dokka:kotlin-as-java-plugin:1.7.20 " )
1717
1818 implementation(kotlin(" stdlib" ))
1919
20- testImplementation(" org.junit.jupiter:junit-jupiter:5.8.2 " )
21- testImplementation(" io.mockk:mockk:1.12.1 " )
20+ testImplementation(" org.junit.jupiter:junit-jupiter:5.9.0 " )
21+ testImplementation(" io.mockk:mockk:1.13.2 " )
2222}
2323
2424tasks.named<Test >(" test" ) {
@@ -40,7 +40,11 @@ tasks.named<Test>("test") {
4040}
4141
4242java {
43+ targetCompatibility = JavaVersion .VERSION_1_8
44+ sourceCompatibility = JavaVersion .VERSION_1_8
45+
4346 withSourcesJar()
47+ withJavadocJar()
4448}
4549
4650kotlin {
@@ -57,7 +61,7 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class.java).all
5761 this .requiredServices
5862
5963 kotlinOptions {
60- jvmTarget = " 16 "
64+ jvmTarget = " 1.8 "
6165 freeCompilerArgs + = " -Xopt-in=kotlin.RequiresOptIn"
6266 }
6367}
You can’t perform that action at this time.
0 commit comments