This repository has been archived by the owner on Apr 13, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
settings.gradle
101 lines (92 loc) · 5.88 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
/*
* Copyright 2017 Sumo Logic
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
pluginManagement.repositories {
// pick up gradle plugin from local maven repo
maven {
url "file://" + System.getProperty("user.home") + "/.m2/repository"
}
gradlePluginPortal()
}
rootProject.name = epigraphName
// map from module (sub-project) path to full module name (maven artifact id)
Map<String, String> modules = [
'examples/library/library-client' : 'examples-library-client',
'examples/library/library-schema' : 'examples-library-schema',
'examples/library/library-service' : 'examples-library-service',
'examples/sumo-schema' : 'examples-sumo-schema',
'examples/sumo-schema-java' : 'examples-sumo-schema-java',
'examples/users/schema' : 'examples-users-schema',
'examples/users/schema-java' : 'examples-users-schema-java',
// 'examples/users/schema-scala' : 'examples-users-schema-scala',
// 'examples/users/service' : 'examples-users-service',
'gradle-plugin' : 'epigraph-gradle-plugin',
'gradle-plugin-common' : 'epigraph-gradle-plugin-common',
'idea-plugin' : 'idea-plugin',
'builtin-services/builtin-services-schema' : 'epigraph-builtin-services-schema',
'builtin-services/builtin-services-service' : 'epigraph-builtin-services-service',
'compiler' : 'epigraph-compiler',
'java/codegen' : 'epigraph-java-codegen',
'java/core' : 'epigraph-java-core',
'java/data-processing' : 'epigraph-java-data-processing',
'java/federator' : 'epigraph-java-federator',
'java/gradle-plugin' : 'epigraph-java-gradle-plugin',
'java/http-client' : 'epigraph-java-http-client',
'java/http-common' : 'epigraph-java-http-common',
'java/http-server/common' : 'epigraph-java-http-server-common',
'java/http-server/jetty-handler' : 'epigraph-java-http-server-jetty-handler',
'java/http-server/servlet' : 'epigraph-java-http-server-servlet',
'java/http-server/spring-handler' : 'epigraph-java-http-server-spring-handler',
'java/http-server/undertow' : 'epigraph-java-http-server-undertow',
'java/invocation' : 'epigraph-java-invocation',
'java/lang-common' : 'epigraph-java-lang-common',
'java/maven-plugin' : 'epigraph-java-maven-plugin',
'java/projections' : 'epigraph-java-projections',
'java/projections-schema-psi-parser' : 'epigraph-java-projections-schema-psi-parser',
'java/projections-schema-psi-parser/tests' : 'epigraph-java-projections-schema-psi-parser-tests',
'java/projections-psi-parser-util' : 'epigraph-java-projections-psi-parser-util',
'java/projections-url-psi-parser' : 'epigraph-java-projections-url-psi-parser',
'java/schema' : 'epigraph-java-schema',
'java/schema-parser' : 'epigraph-java-schema-parser',
'java/schema-psi-parser' : 'epigraph-java-schema-psi-parser',
'java/schema-psi-parser/tests' : 'epigraph-java-schema-psi-parser-tests',
'java/schema-psi-parser-common' : 'epigraph-java-schema-psi-parser-common',
'java/service' : 'epigraph-java-service',
'java/standalone-psi-util' : 'epigraph-java-standalone-psi-util',
'java/tests' : 'epigraph-java-tests',
'java/test-util' : 'epigraph-java-test-util',
'java/request-url' : 'epigraph-java-request-url',
'java/request-url-parser' : 'epigraph-java-request-url-parser',
'java/request-url-psi-parser' : 'epigraph-java-request-url-psi-parser',
'java/util' : 'epigraph-java-util',
'java/wire/common' : 'epigraph-java-wire-common',
'java/wire/json' : 'epigraph-java-wire-json',
'light-psi' : 'epigraph-light-psi',
'maven-plugin' : 'epigraph-maven-plugin',
'maven-plugin-common' : 'epigraph-maven-plugin-common',
'scala/codegen' : 'epigraph-scala-codegen',
'scala/core' : 'epigraph-scala-core',
'scala/maven-plugin' : 'epigraph-scala-maven-plugin',
'schemas/builtin-types-schema' : 'epigraph-builtin-types-schema',
'schemas/operations-schema' : 'epigraph-operations-schema',
'schemas/projections-schema' : 'epigraph-projections-schema',
'schemas/schema-schema' : 'epigraph-schema-schema',
'tests/schema' : 'tests-schema',
'tests/schema-java' : 'tests-schema-java'
]
modules.each { dir, name ->
include name
project(":$name").projectDir = file(dir)
}