Roman Elizarov | 1f74a2d | 2018-06-29 19:19:45 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. |
| 3 | */ |
| 4 | |
Kirill Timofeev | a518696 | 2017-10-25 14:25:47 +0300 | [diff] [blame] | 5 | rootProject.name = 'kotlinx.coroutines' |
Vsevolod Tolstopyatov | 4ddfc91 | 2018-07-12 18:36:02 +0300 | [diff] [blame] | 6 | enableFeaturePreview('GRADLE_METADATA') |
Kirill Timofeev | a518696 | 2017-10-25 14:25:47 +0300 | [diff] [blame] | 7 | |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 8 | def 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 Elizarov | e1c0b65 | 2017-12-01 14:02:57 +0300 | [diff] [blame] | 14 | |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 15 | // --------------------------- |
Kirill Timofeev | a518696 | 2017-10-25 14:25:47 +0300 | [diff] [blame] | 16 | |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 17 | include('benchmarks') |
| 18 | include('knit') |
| 19 | include('site') |
Kirill Timofeev | a518696 | 2017-10-25 14:25:47 +0300 | [diff] [blame] | 20 | |
Vsevolod Tolstopyatov | 74bcc92 | 2018-05-03 20:07:54 +0300 | [diff] [blame] | 21 | module('binary-compatibility-validator') |
| 22 | |
Vsevolod Tolstopyatov | e50a0fa | 2019-01-28 11:34:24 +0300 | [diff] [blame] | 23 | include "kotlinx-coroutines-core" |
Kirill Timofeev | a518696 | 2017-10-25 14:25:47 +0300 | [diff] [blame] | 24 | |
Vsevolod Tolstopyatov | e50a0fa | 2019-01-28 11:34:24 +0300 | [diff] [blame] | 25 | module('kotlinx-coroutines-test') |
| 26 | module('kotlinx-coroutines-debug') |
| 27 | module('stdlib-stubs') |
Vsevolod Tolstopyatov | fe4e05c | 2019-07-19 12:28:15 +0300 | [diff] [blame^] | 28 | module('kotlinx-coroutines-bom') |
| 29 | |
Kirill Timofeev | a518696 | 2017-10-25 14:25:47 +0300 | [diff] [blame] | 30 | |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 31 | module('integration/kotlinx-coroutines-guava') |
| 32 | module('integration/kotlinx-coroutines-jdk8') |
Vsevolod Tolstopyatov | 7f11d0e | 2018-09-24 17:57:12 +0300 | [diff] [blame] | 33 | module('integration/kotlinx-coroutines-slf4j') |
Alex Saveau | 118ee99 | 2018-08-30 16:13:47 -0700 | [diff] [blame] | 34 | module('integration/kotlinx-coroutines-play-services') |
Roman Elizarov | e1c0b65 | 2017-12-01 14:02:57 +0300 | [diff] [blame] | 35 | |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 36 | module('reactive/kotlinx-coroutines-reactive') |
| 37 | module('reactive/kotlinx-coroutines-reactor') |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 38 | module('reactive/kotlinx-coroutines-rx2') |
| 39 | module('reactive/kotlinx-coroutines-rx-example') |
Kirill Timofeev | a518696 | 2017-10-25 14:25:47 +0300 | [diff] [blame] | 40 | |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 41 | module('ui/kotlinx-coroutines-android') |
Vsevolod Tolstopyatov | 4327b21 | 2018-12-17 19:49:12 +0300 | [diff] [blame] | 42 | module('ui/kotlinx-coroutines-android/android-unit-tests') |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 43 | module('ui/kotlinx-coroutines-javafx') |
| 44 | module('ui/kotlinx-coroutines-swing') |
| 45 | |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 46 | module('js/js-stub') |
| 47 | module('js/example-frontend-js') |