-
Notifications
You must be signed in to change notification settings - Fork 80
/
build.gradle
46 lines (42 loc) · 1.08 KB
/
build.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
plugins {
id 'nu.studer.jooq' version '9.0'
id 'java'
}
repositories {
mavenCentral()
}
dependencies {
jooqGenerator 'com.h2database:h2:2.1.214'
}
jooq {
configurations {
main {
generationTool {
logging = org.jooq.meta.jaxb.Logging.WARN
jdbc {
driver = 'org.h2.Driver'
url = 'jdbc:h2:~/test;AUTO_SERVER=TRUE'
user = 'sa'
password = ''
}
generator {
name = 'org.jooq.codegen.DefaultGenerator'
database {
name = 'org.jooq.meta.h2.H2Database'
includes = '.*'
excludes = ''
}
target {
packageName = 'nu.studer.sample'
}
}
}
}
}
}
tasks.named('generateJooq').configure {
// add additional JVM arguments
javaExecSpec = { JavaExecSpec s ->
s.jvmArgs '-Xmx512M'
}
}