blob: 46d3d981ddc558e5e77d634a6099a1c545c8ffed [file] [log] [blame]
Roman Elizarov1f74a2d2018-06-29 19:19:45 +03001/*
2 * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3 */
4
Kirill Timofeeva5186962017-10-25 14:25:47 +03005rootProject.name = 'kotlinx.coroutines'
Vsevolod Tolstopyatov4ddfc912018-07-12 18:36:02 +03006enableFeaturePreview('GRADLE_METADATA')
Kirill Timofeeva5186962017-10-25 14:25:47 +03007
Roman Elizarov31452902018-04-11 13:58:19 +03008def module(String path) {
9 int i = path.lastIndexOf('/')
10 def name = path.substring(i + 1)
11 include(name)
12 project(":$name").projectDir = file(path)
13}
Roman Elizarove1c0b652017-12-01 14:02:57 +030014
Roman Elizarov31452902018-04-11 13:58:19 +030015// ---------------------------
Kirill Timofeeva5186962017-10-25 14:25:47 +030016
Roman Elizarov31452902018-04-11 13:58:19 +030017include('benchmarks')
18include('knit')
19include('site')
Kirill Timofeeva5186962017-10-25 14:25:47 +030020
Vsevolod Tolstopyatov74bcc922018-05-03 20:07:54 +030021module('binary-compatibility-validator')
22
Vsevolod Tolstopyatove50a0fa2019-01-28 11:34:24 +030023include "kotlinx-coroutines-core"
Kirill Timofeeva5186962017-10-25 14:25:47 +030024
Vsevolod Tolstopyatove50a0fa2019-01-28 11:34:24 +030025module('kotlinx-coroutines-test')
26module('kotlinx-coroutines-debug')
27module('stdlib-stubs')
Kirill Timofeeva5186962017-10-25 14:25:47 +030028
Roman Elizarov31452902018-04-11 13:58:19 +030029module('integration/kotlinx-coroutines-guava')
30module('integration/kotlinx-coroutines-jdk8')
Vsevolod Tolstopyatov7f11d0e2018-09-24 17:57:12 +030031module('integration/kotlinx-coroutines-slf4j')
Alex Saveau118ee992018-08-30 16:13:47 -070032module('integration/kotlinx-coroutines-play-services')
Roman Elizarove1c0b652017-12-01 14:02:57 +030033
Roman Elizarov31452902018-04-11 13:58:19 +030034module('reactive/kotlinx-coroutines-reactive')
35module('reactive/kotlinx-coroutines-reactor')
Roman Elizarov31452902018-04-11 13:58:19 +030036module('reactive/kotlinx-coroutines-rx2')
37module('reactive/kotlinx-coroutines-rx-example')
Kirill Timofeeva5186962017-10-25 14:25:47 +030038
Roman Elizarov31452902018-04-11 13:58:19 +030039module('ui/kotlinx-coroutines-android')
Vsevolod Tolstopyatov4327b212018-12-17 19:49:12 +030040module('ui/kotlinx-coroutines-android/android-unit-tests')
Roman Elizarov31452902018-04-11 13:58:19 +030041module('ui/kotlinx-coroutines-javafx')
42module('ui/kotlinx-coroutines-swing')
43
Roman Elizarov31452902018-04-11 13:58:19 +030044module('js/js-stub')
45module('js/example-frontend-js')