-
Notifications
You must be signed in to change notification settings - Fork 90
/
settings.gradle.kts
68 lines (57 loc) · 2.58 KB
/
settings.gradle.kts
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
rootProject.name = "kotlin-jdsl"
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.6.0"
}
// Module
module(name = ":dsl", path = "dsl")
module(name = ":jpql-dsl", path = "dsl/jpql")
module(name = ":query-model", path = "query-model")
module(name = ":jpql-query-model", path = "query-model/jpql")
module(name = ":render", path = "render")
module(name = ":jpql-render", path = "render/jpql")
module(name = ":support", path = "support")
module(name = ":spring-batch-support", path = "support/spring-batch")
module(name = ":spring-batch-javax-support", path = "support/spring-batch-javax")
module(name = ":spring-data-jpa-support", path = "support/spring-data-jpa")
module(name = ":spring-data-jpa-javax-support", path = "support/spring-data-jpa-javax")
module(name = ":hibernate-reactive-support", path = "support/hibernate-reactive")
module(name = ":hibernate-reactive-javax-support", path = "support/hibernate-reactive-javax")
module(name = ":hibernate-support", path = "support/hibernate")
module(name = ":hibernate-javax-support", path = "support/hibernate-javax")
module(name = ":eclipselink-support", path = "support/eclipselink")
module(name = ":eclipselink-javax-support", path = "support/eclipselink-javax")
module(name = ":example", path = "example")
module(name = ":spring-batch-example", path = "example/spring-batch")
module(name = ":spring-batch-javax-example", path = "example/spring-batch-javax")
module(name = ":spring-data-jpa-example", path = "example/spring-data-jpa")
module(name = ":spring-data-jpa-javax-example", path = "example/spring-data-jpa-javax")
module(name = ":hibernate-reactive-example", path = "example/hibernate-reactive")
module(name = ":hibernate-reactive-javax-example", path = "example/hibernate-reactive-javax")
module(name = ":hibernate-example", path = "example/hibernate")
module(name = ":hibernate-javax-example", path = "example/hibernate-javax")
module(name = ":eclipselink-example", path = "example/eclipselink")
module(name = ":eclipselink-javax-example", path = "example/eclipselink-javax")
module(name = ":benchmark", path = "benchmark")
// Version Catalog
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
from(files("libs.versions.toml"))
}
create("exampleLibs") {
from(files("libs.example.versions.toml"))
}
}
}
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
// Util
fun module(name: String, path: String) {
include(name)
project(name).projectDir = file(path)
}