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 9 // JMH 10 id "net.ltgt.apt" version "0.21" 11 id "me.champeau.gradle.jmh" version "0.5.3" 12 } 13 14 repositories { 15 maven { url "https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev/" } 16 gradlePluginPortal() 17 } 18} 19 20rootProject.name = 'kotlinx.coroutines' 21 22def module(String path) { 23 int i = path.lastIndexOf('/') 24 def name = path.substring(i + 1) 25 include(name) 26 project(":$name").projectDir = file(path) 27} 28def prop = System.getProperty("build_snapshot_train") 29ext.build_snapshot_train = prop != null && prop != "" 30// --------------------------- 31 32include('benchmarks') 33 34include "kotlinx-coroutines-core" 35 36module('kotlinx-coroutines-test') 37module('kotlinx-coroutines-debug') 38module('kotlinx-coroutines-bom') 39 40 41module('integration/kotlinx-coroutines-guava') 42module('integration/kotlinx-coroutines-jdk8') 43module('integration/kotlinx-coroutines-slf4j') 44module('integration/kotlinx-coroutines-play-services') 45 46module('reactive/kotlinx-coroutines-reactive') 47module('reactive/kotlinx-coroutines-reactor') 48module('reactive/kotlinx-coroutines-jdk9') 49module('reactive/kotlinx-coroutines-rx2') 50module('reactive/kotlinx-coroutines-rx3') 51module('ui/kotlinx-coroutines-android') 52module('ui/kotlinx-coroutines-android/android-unit-tests') 53if (JavaVersion.current().isJava11Compatible()) { 54 module('ui/kotlinx-coroutines-javafx') 55} 56module('ui/kotlinx-coroutines-swing') 57 58if (!build_snapshot_train) { 59 module('js/example-frontend-js') 60} 61