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 | |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 23 | module('common/kotlinx-coroutines-core-common') |
Kirill Timofeev | a518696 | 2017-10-25 14:25:47 +0300 | [diff] [blame] | 24 | |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 25 | module('core/kotlinx-coroutines-core') |
Vsevolod Tolstopyatov | 4327b21 | 2018-12-17 19:49:12 +0300 | [diff] [blame] | 26 | module('core/kotlinx-coroutines-test') |
Vsevolod Tolstopyatov | c7239ac | 2018-12-10 11:41:00 +0300 | [diff] [blame] | 27 | module('core/kotlinx-coroutines-debug') |
Vsevolod Tolstopyatov | 706e393 | 2018-10-13 15:40:32 +0300 | [diff] [blame] | 28 | module('core/stdlib-stubs') |
Kirill Timofeev | a518696 | 2017-10-25 14:25:47 +0300 | [diff] [blame] | 29 | |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 30 | module('integration/kotlinx-coroutines-guava') |
| 31 | module('integration/kotlinx-coroutines-jdk8') |
Vsevolod Tolstopyatov | 7f11d0e | 2018-09-24 17:57:12 +0300 | [diff] [blame] | 32 | module('integration/kotlinx-coroutines-slf4j') |
Alex Saveau | 118ee99 | 2018-08-30 16:13:47 -0700 | [diff] [blame] | 33 | module('integration/kotlinx-coroutines-play-services') |
Roman Elizarov | e1c0b65 | 2017-12-01 14:02:57 +0300 | [diff] [blame] | 34 | |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 35 | module('reactive/kotlinx-coroutines-reactive') |
| 36 | module('reactive/kotlinx-coroutines-reactor') |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 37 | module('reactive/kotlinx-coroutines-rx2') |
| 38 | module('reactive/kotlinx-coroutines-rx-example') |
Kirill Timofeev | a518696 | 2017-10-25 14:25:47 +0300 | [diff] [blame] | 39 | |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 40 | module('ui/kotlinx-coroutines-android') |
Vsevolod Tolstopyatov | 4327b21 | 2018-12-17 19:49:12 +0300 | [diff] [blame] | 41 | module('ui/kotlinx-coroutines-android/android-unit-tests') |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame] | 42 | module('ui/kotlinx-coroutines-javafx') |
| 43 | module('ui/kotlinx-coroutines-swing') |
| 44 | |
| 45 | module('js/kotlinx-coroutines-core-js') |
| 46 | module('js/js-stub') |
| 47 | module('js/example-frontend-js') |
| 48 | |
Vsevolod Tolstopyatov | 4ddfc91 | 2018-07-12 18:36:02 +0300 | [diff] [blame] | 49 | module('native/kotlinx-coroutines-core-native') |