File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,13 @@ buildscript {
77 gradlePluginPortal()
88 }
99 dependencies {
10- classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions .kotlinVersion} " )
1110 }
1211}
1312plugins {
1413 java
1514 `maven- publish`
16- id(" org.jetbrains.kotlin.plugin.sam.with.receiver" ) version Versions .kotlinVersion
1715 `java- library`
16+ id(" org.jetbrains.kotlin.jvm" ) version Versions .kotlinVersion
1817}
1918
2019group = " mobi.appcent"
@@ -42,6 +41,14 @@ dependencies {
4241java {
4342 withJavadocJar()
4443 withSourcesJar()
44+ sourceCompatibility = JavaVersion .VERSION_1_8
45+ targetCompatibility = JavaVersion .VERSION_1_8
46+ }
47+
48+ tasks.withType< org.jetbrains.kotlin.gradle.tasks.KotlinCompile > ().configureEach {
49+ kotlinOptions {
50+ jvmTarget = " 1.8"
51+ }
4552}
4653
4754publishing {
Original file line number Diff line number Diff line change 11object Versions {
2- const val kotlinVersion = " 1.7.20 "
2+ const val kotlinVersion = " 1.5.31 "
33}
You can’t perform that action at this time.
0 commit comments