generated from micronaut-projects/micronaut-project-template
-
Notifications
You must be signed in to change notification settings - Fork 18
/
settings.gradle
130 lines (120 loc) · 3.71 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
// maven {
// url "https://s01.oss.sonatype.org/content/repositories/snapshots"
// }
}
}
plugins {
id 'io.micronaut.build.shared.settings' version '7.3.2'
}
rootProject.name = 'testresources-parent'
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
// Extensions as in "Micronaut Test extensions"
// This name was chosen to reduce the naming overhead
// e.g micronaut-test-resources-micronaut-test-extensions-core
// is just micronaut-test-resources-extensions-core
def extensionModules = [
'core',
'junit-platform'
]
def jdbcModules = [
'core',
'mysql',
'mariadb',
'oracle-xe',
'oracle-free',
'postgresql',
'mssql'
]
def r2dbcModules = [
'core',
'mariadb',
'mysql',
'oracle-xe',
'oracle-free',
'postgresql',
'mssql',
'pool'
]
def hibernateReactiveModules = [
'core',
'mariadb',
'mssql',
'mysql',
'postgresql',
'oracle-xe',
'oracle-free'
]
def localstackModules = [
'core',
's3',
'dynamodb',
'sqs',
'sns'
]
include 'test-resources-bom'
include 'test-resources-build-tools'
include 'test-resources-core'
include 'test-resources-client'
include 'test-resources-control-panel'
include 'test-resources-elasticsearch'
include 'test-resources-embedded'
include 'test-resources-hivemq'
include 'test-resources-kafka'
include 'test-resources-mongodb'
include 'test-resources-neo4j'
include 'test-resources-opensearch'
include 'test-resources-redis'
include 'test-resources-rabbitmq'
include 'test-resources-server'
include 'test-resources-testcontainers'
include 'test-resources-hashicorp-vault'
include 'test-resources-hashicorp-consul'
extensionModules.each {
String projectName = "test-resources-extensions-$it"
include projectName
project(":test-resources-extensions-$it").projectDir = file("test-resources-extensions/$projectName")
}
jdbcModules.each {
String projectName = "test-resources-jdbc-$it"
include projectName
project(":test-resources-jdbc-$it").projectDir = file("test-resources-jdbc/$projectName")
}
r2dbcModules.each {
String projectName = "test-resources-r2dbc-$it"
include projectName
project(":test-resources-r2dbc-$it").projectDir = file("test-resources-r2dbc/$projectName")
}
localstackModules.each {
String projectName = "test-resources-localstack-$it"
include projectName
project(":test-resources-localstack-$it").projectDir = file("test-resources-localstack/$projectName")
}
hibernateReactiveModules.each {
String projectName = "test-resources-hibernate-reactive-$it"
include projectName
project(":test-resources-hibernate-reactive-$it").projectDir = file("test-resources-hibernate-reactive/$projectName")
}
micronautBuild {
useStandardizedProjectNames = true
importMicronautCatalog()
importMicronautCatalog("micronaut-aws")
importMicronautCatalog("micronaut-control-panel")
importMicronautCatalog("micronaut-data")
importMicronautCatalog("micronaut-elasticsearch")
importMicronautCatalog("micronaut-email")
importMicronautCatalog("micronaut-kafka")
importMicronautCatalog("micronaut-mongodb")
importMicronautCatalog("micronaut-mqtt")
importMicronautCatalog("micronaut-neo4j")
importMicronautCatalog("micronaut-rabbitmq")
importMicronautCatalog("micronaut-reactor")
importMicronautCatalog("micronaut-redis")
importMicronautCatalog("micronaut-r2dbc")
importMicronautCatalog("micronaut-security")
importMicronautCatalog("micronaut-serde")
importMicronautCatalog("micronaut-sql")
}