-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
102 lines (74 loc) · 3.03 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
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
buildscript {
repositories {
jcenter()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
maven { url 'https://repo.spring.io/plugins-release' }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.4.1.RELEASE")
classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.7'
}
ext {
snippetsDir = file('build/generated-snippets')
}
}
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'idea'
apply plugin: 'propdeps'
apply plugin: 'spring-boot'
apply plugin: 'propdeps-idea'
sourceCompatibility = 1.8
war {
baseName = 'plt'
version = '0.0.1-SNAPSHOT'
}
repositories {
jcenter()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
maven { url "https://repository.jboss.org/nexus/content/repositories/releases" }
maven { url "https://vaadin.com/nexus/content/repositories/vaadin-addons/" }
maven { url "https://oss.sonatype.org/content/repositories/vaadin-snapshots/" }
mavenCentral()
}
dependencyManagement {
imports {
mavenBom 'com.vaadin:vaadin-bom:7.7.3'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compile 'io.github.jpenren:thymeleaf-spring-data-dialect:2.1.1'
compile "org.projectlombok:lombok"
compile("org.springframework.boot:spring-boot-devtools")
compile 'org.webjars.bower:github-com-twbs-bootstrap:3.3.4'
compile 'org.webjars.bower:jquery:3.1.1'
compile("javax.cache:cache-api")
compile("org.ehcache:ehcache")
compile("com.vaadin:vaadin-spring-boot:1.0.2")
compile("com.vaadin:vaadin-themes:7.7.3")
compile("com.vaadin:vaadin-client-compiled:7.7.3")
compile("com.vaadin:vaadin-push:7.7.3")
compile 'org.apache.httpcomponents:httpclient:4.4.1'
compile("org.springframework.boot:spring-boot-devtools")
optional "org.springframework.boot:spring-boot-configuration-processor"
compile("org.vaadin:viritin:1.58")
compile("org.vaadin.teemu:switch:2.0.3")
compile("org.vaadin.icons:vaadin-icons:1.0.1")
compile("org.vaadin.spring.addons:vaadin-spring-addon-eventbus:0.0.7.RELEASE")
compile("org.vaadin.spring.addons:vaadin-spring-addon-sidebar:0.0.7.RELEASE")
compile("org.vaadin.spring.extensions:vaadin-spring-ext-core:0.0.7.RELEASE")
compile("org.vaadin.spring.extensions:vaadin-spring-ext-boot:0.0.7.RELEASE")
compile("com.h2database:h2")
// runtime("mysql:mysql-connector-java:5.1.39")
// runtime("mysql:mysql-connector-java")
testCompile("org.springframework.boot:spring-boot-starter-test")
// https://mvnrepository.com/artifact/org.json/json
compile group: 'org.json', name: 'json', version: '20190722'
}
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'