1 /* 2 * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. 3 */ 4 <lambda>null5plugins { 6 // apply plugin to use autocomplete for Kover DSL 7 id("org.jetbrains.kotlinx.kover") 8 } 9 10 val reactorVersion = version("reactor") 11 <lambda>null12dependencies { 13 api("io.projectreactor:reactor-core:$reactorVersion") 14 api(project(":kotlinx-coroutines-reactive")) 15 } 16 <lambda>null17java { 18 targetCompatibility = JavaVersion.VERSION_1_8 19 sourceCompatibility = JavaVersion.VERSION_1_8 20 } 21 <lambda>null22tasks { 23 compileKotlin { 24 kotlinOptions.jvmTarget = "1.8" 25 } 26 27 compileTestKotlin { 28 kotlinOptions.jvmTarget = "1.8" 29 } 30 } 31 32 externalDocumentationLink( 33 url = "https://projectreactor.io/docs/core/$reactorVersion/api/" 34 ) 35 36 <lambda>null37koverReport { 38 filters { 39 excludes { 40 classes( 41 "kotlinx.coroutines.reactor.FlowKt", // Deprecated 42 "kotlinx.coroutines.reactor.ConvertKt\$asFlux$1" // Deprecated 43 ) 44 } 45 } 46 } 47