Skip to content

Commit 0392c05

Browse files
committed
Cleanup build warnings
1 parent a2c2862 commit 0392c05

5 files changed

Lines changed: 18 additions & 1 deletion

File tree

api/sealed-enum.api

Whitespace-only changes.

gradle.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ org.gradle.jvmargs=-Xmx1536m
1313
org.gradle.parallel=true
1414
# Kotlin code style for this project: "official" or "obsolete":
1515
kotlin.code.style=official
16+
# Don't work about mpp stability
17+
kotlin.mpp.stability.nowarn=true
18+
# Don't warn about disabled targets
19+
kotlin.native.ignoreDisabledTargets=true
1620

1721
group=com.livefront.sealedenum
1822
version=0.4.0

processing-tests/common/src/commonTest/kotlin/com/livefront/sealedenum/compilation/generics/SealedEnumWithAbstractBaseClassesTests.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package com.livefront.sealedenum.compilation.generics
33
import kotlin.test.Test
44
import kotlin.test.assertEquals
55

6-
@OptIn(ExperimentalStdlibApi::class)
76
class SealedEnumWithAbstractBaseClassesTests {
87
@Test
98
fun enum_implements_correct_interfaces_with_type_arguments() {

processing-tests/ksp-tests/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ kotlin {
6666
}
6767
}
6868

69+
java {
70+
sourceCompatibility = JavaVersion.VERSION_1_8
71+
targetCompatibility = JavaVersion.VERSION_1_8
72+
}
73+
6974
jacoco {
7075
toolVersion = libs.versions.jacoco.get()
7176
}

processing-tests/processor-tests/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ kotlin {
5050
}
5151
}
5252

53+
java {
54+
sourceCompatibility = JavaVersion.VERSION_1_8
55+
targetCompatibility = JavaVersion.VERSION_1_8
56+
}
57+
5358
jacoco {
5459
toolVersion = libs.versions.jacoco.get()
5560
}
@@ -80,6 +85,10 @@ tasks {
8085
}
8186
}
8287

88+
kapt {
89+
includeCompileClasspath = false
90+
}
91+
8392
if (!debugKsp) {
8493
sourceSets {
8594
test {

0 commit comments

Comments
 (0)