1/* 2 * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. 3 */ 4 5pluginManagement { 6 plugins { 7 id "org.openjfx.javafxplugin" version javafx_plugin_version 8 id "me.champeau.jmh" version "0.6.8" 9 } 10 11 repositories { 12 maven { url "https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev/" } 13 gradlePluginPortal() 14 } 15} 16 17rootProject.name = 'kotlinx.coroutines' 18 19def module(String path) { 20 int i = path.lastIndexOf('/') 21 def name = path.substring(i + 1) 22 include(name) 23 project(":$name").projectDir = file(path) 24} 25def prop = System.getProperty("build_snapshot_train") 26ext.build_snapshot_train = prop != null && prop != "" 27// --------------------------- 28 29include('benchmarks') 30 31include "kotlinx-coroutines-core" 32 33module('kotlinx-coroutines-test') 34module('kotlinx-coroutines-debug') 35module('kotlinx-coroutines-bom') 36 37 38module('integration/kotlinx-coroutines-guava') 39module('integration/kotlinx-coroutines-jdk8') 40module('integration/kotlinx-coroutines-slf4j') 41module('integration/kotlinx-coroutines-play-services') 42 43module('reactive/kotlinx-coroutines-reactive') 44module('reactive/kotlinx-coroutines-reactor') 45module('reactive/kotlinx-coroutines-jdk9') 46module('reactive/kotlinx-coroutines-rx2') 47module('reactive/kotlinx-coroutines-rx3') 48module('ui/kotlinx-coroutines-android') 49module('ui/kotlinx-coroutines-android/android-unit-tests') 50if (JavaVersion.current().isJava11Compatible()) { 51 module('ui/kotlinx-coroutines-javafx') 52} 53module('ui/kotlinx-coroutines-swing') 54 55if (!build_snapshot_train) { 56 module('js/example-frontend-js') 57} 58