Skip to content

Commit

Permalink
Cleanup build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvanyo committed Nov 8, 2021
1 parent a2c2862 commit 0392c05
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
Empty file removed api/sealed-enum.api
Empty file.
4 changes: 4 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ org.gradle.jvmargs=-Xmx1536m
org.gradle.parallel=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
# Don't work about mpp stability
kotlin.mpp.stability.nowarn=true
# Don't warn about disabled targets
kotlin.native.ignoreDisabledTargets=true

group=com.livefront.sealedenum
version=0.4.0
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.livefront.sealedenum.compilation.generics
import kotlin.test.Test
import kotlin.test.assertEquals

@OptIn(ExperimentalStdlibApi::class)
class SealedEnumWithAbstractBaseClassesTests {
@Test
fun enum_implements_correct_interfaces_with_type_arguments() {
Expand Down
5 changes: 5 additions & 0 deletions processing-tests/ksp-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ kotlin {
}
}

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

jacoco {
toolVersion = libs.versions.jacoco.get()
}
Expand Down
9 changes: 9 additions & 0 deletions processing-tests/processor-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ kotlin {
}
}

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

jacoco {
toolVersion = libs.versions.jacoco.get()
}
Expand Down Expand Up @@ -80,6 +85,10 @@ tasks {
}
}

kapt {
includeCompileClasspath = false
}

if (!debugKsp) {
sourceSets {
test {
Expand Down

0 comments on commit 0392c05

Please sign in to comment.