blob: d07e2bf9052d064a8bf78b0edefe5e30f7f40ad6 [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
Roman Elizarov31452902018-04-11 13:58:19 +030023module('common/kotlinx-coroutines-core-common')
Kirill Timofeeva5186962017-10-25 14:25:47 +030024
Roman Elizarov31452902018-04-11 13:58:19 +030025module('core/kotlinx-coroutines-core')
Kirill Timofeeva5186962017-10-25 14:25:47 +030026
Roman Elizarov31452902018-04-11 13:58:19 +030027module('integration/kotlinx-coroutines-guava')
28module('integration/kotlinx-coroutines-jdk8')
29module('integration/kotlinx-coroutines-nio')
30module('integration/kotlinx-coroutines-quasar')
Alphonse Bendt4b0379f2018-06-20 00:27:53 +020031module('integration/kotlinx-coroutines-slf4j')
Roman Elizarove1c0b652017-12-01 14:02:57 +030032
Roman Elizarov31452902018-04-11 13:58:19 +030033module('reactive/kotlinx-coroutines-reactive')
34module('reactive/kotlinx-coroutines-reactor')
Roman Elizarov31452902018-04-11 13:58:19 +030035module('reactive/kotlinx-coroutines-rx2')
36module('reactive/kotlinx-coroutines-rx-example')
Kirill Timofeeva5186962017-10-25 14:25:47 +030037
Roman Elizarov31452902018-04-11 13:58:19 +030038module('ui/kotlinx-coroutines-android')
39module('ui/kotlinx-coroutines-javafx')
40module('ui/kotlinx-coroutines-swing')
41
42module('js/kotlinx-coroutines-core-js')
43module('js/js-stub')
44module('js/example-frontend-js')
45
Vsevolod Tolstopyatov4ddfc912018-07-12 18:36:02 +030046module('native/kotlinx-coroutines-core-native')