|
1 | 1 | rootProject.name = 'kotlinx.coroutines'
|
2 | 2 |
|
3 |
| -include 'kotlinx-coroutines-core-common' |
4 |
| - |
5 |
| -include 'kotlinx-coroutines-core' |
6 |
| -include 'kotlinx-coroutines-io' |
7 |
| - |
8 |
| -include 'kotlinx-coroutines-guava' |
9 |
| -include 'kotlinx-coroutines-jdk8' |
10 |
| -include 'kotlinx-coroutines-nio' |
11 |
| -include 'kotlinx-coroutines-quasar' |
12 |
| - |
13 |
| -include 'kotlinx-coroutines-reactive' |
14 |
| -include 'kotlinx-coroutines-reactor' |
15 |
| -include 'kotlinx-coroutines-rx1' |
16 |
| -include 'kotlinx-coroutines-rx2' |
17 |
| -include 'kotlinx-coroutines-rx-example' |
18 |
| - |
19 |
| -include 'kotlinx-coroutines-android' |
20 |
| -include 'kotlinx-coroutines-javafx' |
21 |
| -include 'kotlinx-coroutines-swing' |
22 |
| - |
23 |
| -include 'kotlinx-coroutines-core-js' |
24 |
| -include 'js-stub' |
25 |
| -include 'example-frontend-js' |
26 |
| - |
27 |
| -include 'benchmarks' |
28 |
| -include 'knit' |
29 |
| -include 'site' |
30 |
| - |
31 |
| -project(':kotlinx-coroutines-core-common').projectDir = file('common/kotlinx-coroutines-core-common') |
32 |
| -project(':kotlinx-coroutines-core').projectDir = file('core/kotlinx-coroutines-core') |
33 |
| -project(':kotlinx-coroutines-io').projectDir = file('core/kotlinx-coroutines-io') |
34 |
| -project(':kotlinx-coroutines-guava').projectDir = file('integration/kotlinx-coroutines-guava') |
35 |
| -project(':kotlinx-coroutines-jdk8').projectDir = file('integration/kotlinx-coroutines-jdk8') |
36 |
| -project(':kotlinx-coroutines-nio').projectDir = file('integration/kotlinx-coroutines-nio') |
37 |
| -project(':kotlinx-coroutines-quasar').projectDir = file('integration/kotlinx-coroutines-quasar') |
38 |
| -project(':kotlinx-coroutines-reactive').projectDir = file('reactive/kotlinx-coroutines-reactive') |
39 |
| -project(':kotlinx-coroutines-reactor').projectDir = file('reactive/kotlinx-coroutines-reactor') |
40 |
| -project(':kotlinx-coroutines-rx1').projectDir = file('reactive/kotlinx-coroutines-rx1') |
41 |
| -project(':kotlinx-coroutines-rx2').projectDir = file('reactive/kotlinx-coroutines-rx2') |
42 |
| -project(':kotlinx-coroutines-rx-example').projectDir = file('reactive/kotlinx-coroutines-rx-example') |
43 |
| -project(':kotlinx-coroutines-android').projectDir = file('ui/kotlinx-coroutines-android') |
44 |
| -project(':kotlinx-coroutines-javafx').projectDir = file('ui/kotlinx-coroutines-javafx') |
45 |
| -project(':kotlinx-coroutines-swing').projectDir = file('ui/kotlinx-coroutines-swing') |
46 |
| -project(':kotlinx-coroutines-core-js').projectDir = file('js/kotlinx-coroutines-core-js') |
47 |
| -project(':js-stub').projectDir = file('js/js-stub') |
48 |
| -project(':example-frontend-js').projectDir = file('js/example-frontend-js') |
| 3 | +def module(String path) { |
| 4 | + int i = path.lastIndexOf('/') |
| 5 | + def name = path.substring(i + 1) |
| 6 | + include(name) |
| 7 | + project(":$name").projectDir = file(path) |
| 8 | +} |
| 9 | + |
| 10 | +// --------------------------- |
| 11 | + |
| 12 | +include('benchmarks') |
| 13 | +include('knit') |
| 14 | +include('site') |
| 15 | + |
| 16 | +module('common/kotlinx-coroutines-core-common') |
| 17 | + |
| 18 | +module('core/kotlinx-coroutines-core') |
| 19 | +module('core/kotlinx-coroutines-io') |
| 20 | + |
| 21 | +module('integration/kotlinx-coroutines-guava') |
| 22 | +module('integration/kotlinx-coroutines-jdk8') |
| 23 | +module('integration/kotlinx-coroutines-nio') |
| 24 | +module('integration/kotlinx-coroutines-quasar') |
| 25 | + |
| 26 | +module('reactive/kotlinx-coroutines-reactive') |
| 27 | +module('reactive/kotlinx-coroutines-reactor') |
| 28 | +module('reactive/kotlinx-coroutines-rx1') |
| 29 | +module('reactive/kotlinx-coroutines-rx2') |
| 30 | +module('reactive/kotlinx-coroutines-rx-example') |
| 31 | + |
| 32 | +module('ui/kotlinx-coroutines-android') |
| 33 | +module('ui/kotlinx-coroutines-javafx') |
| 34 | +module('ui/kotlinx-coroutines-swing') |
| 35 | + |
| 36 | +module('js/kotlinx-coroutines-core-js') |
| 37 | +module('js/js-stub') |
| 38 | +module('js/example-frontend-js') |
| 39 | + |
| 40 | +//module('native/kotlinx-coroutines-core-native') |
| 41 | + |
0 commit comments