forked from ktorio/ktor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
106 lines (101 loc) · 3.96 KB
/
settings.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/*
* Copyright 2014-2020 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
pluginManagement {
repositories {
mavenCentral()
google()
gradlePluginPortal()
jcenter()
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == "kotlin2js") {
useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:${requested.version}")
}
}
}
}
rootProject.name = 'ktor'
enableFeaturePreview('GRADLE_METADATA')
ext.native_targets_enabled = properties['disable_native_targets'] == null
// copied from versions.gradle
def versionComponents = System.getProperty('java.version')?.
split("\\.")?.
take(2)?.
findAll { !it.isBlank() }?.
collect { Integer.parseInt(it) } ?:
[1]
ext.currentJdk = versionComponents[0] == 1 ? versionComponents[1] : versionComponents[0]
include ':ktor-server:ktor-server-core'
include ':ktor-server:ktor-server-tests'
include ':ktor-server:ktor-server-host-common'
include ':ktor-server:ktor-server-test-host'
include ':ktor-server:ktor-server-test-suites'
include ':ktor-server:ktor-server-jetty'
include ':ktor-server:ktor-server-jetty:ktor-server-jetty-test-http2'
include ':ktor-server:ktor-server-servlet'
include ':ktor-server:ktor-server-tomcat'
include ':ktor-server:ktor-server-netty'
include ':ktor-server:ktor-server-cio'
include ':ktor-server:ktor-server-benchmarks'
include ':ktor-server'
include ':ktor-client'
include ':ktor-client:ktor-client-core'
include ':ktor-client:ktor-client-tests'
include ':ktor-client:ktor-client-apache'
include ':ktor-client:ktor-client-android'
include ':ktor-client:ktor-client-cio'
if (native_targets_enabled) {
include ':ktor-client:ktor-client-curl'
include ':ktor-client:ktor-client-ios'
}
if (ext.currentJdk >= 11) {
include ':ktor-client:ktor-client-java'
}
include ':ktor-client:ktor-client-jetty'
include ':ktor-client:ktor-client-js'
include ':ktor-client:ktor-client-mock'
include ':ktor-client:ktor-client-okhttp'
include ':ktor-client:ktor-client-benchmarks'
include ':ktor-client:ktor-client-features'
include ':ktor-client:ktor-client-features:ktor-client-json'
include ':ktor-client:ktor-client-features:ktor-client-json:ktor-client-json-tests'
include ':ktor-client:ktor-client-features:ktor-client-json:ktor-client-gson'
include ':ktor-client:ktor-client-features:ktor-client-json:ktor-client-jackson'
include ':ktor-client:ktor-client-features:ktor-client-json:ktor-client-serialization'
include ':ktor-client:ktor-client-features:ktor-client-auth'
include ':ktor-client:ktor-client-features:ktor-client-auth-basic'
include ':ktor-client:ktor-client-features:ktor-client-logging'
include ':ktor-client:ktor-client-features:ktor-client-encoding'
include ':ktor-client:ktor-client-features:ktor-client-websockets'
//include ':ktor-client:ktor-client-features:ktor-client-tracing'
//include ':ktor-client:ktor-client-features:ktor-client-tracing:ktor-client-tracing-stetho'
include ':ktor-features:ktor-freemarker'
include ':ktor-features:ktor-mustache'
include ':ktor-features:ktor-thymeleaf'
include ':ktor-features:ktor-velocity'
include ':ktor-features:ktor-pebble'
include ':ktor-features:ktor-gson'
include ':ktor-features:ktor-jackson'
include ':ktor-features:ktor-metrics'
include ':ktor-features:ktor-metrics-micrometer'
include ':ktor-features:ktor-server-sessions'
include ':ktor-features:ktor-locations'
include ':ktor-features:ktor-websockets'
include ':ktor-features:ktor-html-builder'
include ':ktor-features:ktor-auth'
include ':ktor-features:ktor-auth-ldap'
include ':ktor-features:ktor-auth-jwt'
include ':ktor-features:ktor-webjars'
include ':ktor-features:ktor-serialization'
include ':ktor-features'
include ':ktor-http'
include ':ktor-http:ktor-http-cio'
include ':ktor-io'
include ':ktor-utils'
include ':ktor-network'
include ':ktor-network:ktor-network-tls'
include ':ktor-network:ktor-network-tls:ktor-network-tls-certificates'
include ':ktor-bom'
include ':ktor-test-dispatcher'