-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
43 lines (36 loc) · 1.12 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
plugins {
id 'java'
id 'application'
id 'org.springframework.boot' version '2.2.2.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
}
group = 'org.zkoss.zk.demo'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
jcenter()
maven { url "https://mavensync.zkoss.org/maven2" }
maven { url "https://mavensync.zkoss.org/eval" }
}
ext {
zkspringbootVersion = '1.0.4'
}
dependencies {
implementation "org.zkoss.zkspringboot:zkspringboot-autoconfig:${zkspringbootVersion}"
implementation('org.zkoss.zk:zkmax:9.0.0-Eval') {
exclude group: 'net.sf.jasperreports'
}
implementation 'org.zkoss.zk:zkplus:9.0.0-Eval'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
runtime 'org.hsqldb:hsqldb:2.5.0'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
task staticBuild(type: Copy) {
dependsOn ':frontend:npm_run_build'
from 'frontend/build'
into 'src/main/resources/static'
}
application {
mainClassName = 'react.App'
}