-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
147 lines (109 loc) · 4.6 KB
/
Copy pathbuild.gradle
File metadata and controls
147 lines (109 loc) · 4.6 KB
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
buildscript {
ext {
springBootVersion = "2.0.0.RELEASE"
querydslVersion = "4.1.4"
}
repositories {
mavenCentral()
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("gradle.plugin.com.ewerk.gradle.plugins:querydsl-plugin:1.0.9")
}
}
plugins {
id 'org.gradle.java'
id 'com.ewerk.gradle.plugins.querydsl' version '1.0.9'
}
apply plugin: "com.ewerk.gradle.plugins.querydsl"
apply plugin: "java"
apply plugin: "application"
mainClassName = 'org.sims.Main'
apply plugin: "idea"
apply plugin: "org.springframework.boot"
apply plugin: "io.spring.dependency-management"
apply plugin: "com.ewerk.gradle.plugins.querydsl"
group = "org.sims"
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
maven { url "http://repo.spring.io/libs-snapshot" }
google()
maven {
url 'https://repo.spring.io/libs-snapshot'
}
}
dependencies {
//---------------------------Spring Framework----------------------------
// compile group: 'org.hibernate', name: 'hibernate-gradle-plugin', version: '5.2.2.Final'
// compile group: 'org.hibernate', name: 'hibernate-core', version: '5.2.2.Final'
// compile group: 'org.hibernate', name: 'hibernate-ehcache', version: '5.2.2.Final'
compile group: 'org.springframework', name: 'spring-core'
// compile group: 'org.springframework.boot', name: 'spring-boot-starter-jdbc'
// compile 'org.springframework.security.oauth:spring-security-oauth2:2.3.2.BUILD-SNAPSHOT'
// compile 'org.springframework.security.oauth:spring-security-oauth:2.3.2.BUILD-SNAPSHOT'
// compile group: 'org.springframework.boot', name: 'spring-boot-starter-security'
// compile group: 'org.springframework.security.oauth', name: 'spring-security-oauth2'
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-security')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.springframework.boot:spring-boot-starter-hateoas')
compile("org.springframework.boot:spring-boot-starter-data-rest")
compile('org.springframework.boot:spring-boot-starter-actuator')
testCompile('org.springframework.boot:spring-boot-starter-test')
// testCompile('org.springframework.security:spring-security-test')
runtime('org.springframework.boot:spring-boot-devtools')
//---------------------------QueryDsl-------------------------------------
compile "com.querydsl:querydsl-jpa:$querydslVersion"
compile "com.querydsl:querydsl-core"
compileOnly("com.querydsl:querydsl-apt:4.1.4")
//---------------------------Database-------------------------------------
//compile("mysql:mysql-connector-java")
runtime('com.h2database:h2')
//--------------------------Discovery-------------------------------------
compile("org.thymeleaf:thymeleaf-spring5")
compile("nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect")
compile(group: 'javax.jmdns', name: 'jmdns', version: '3.4.1')
compile("io.reactivex.rxjava2:rxjava:2.1.9")
//---------------------------Misc----------------------------------------
compile group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.3'
compile "io.springfox:springfox-swagger2:2.9.0"
compile 'io.springfox:springfox-swagger-ui:2.9.0'
// compile 'io.springfox.ui:springfox-swagger-ui-rfc6570:1.0.0'
compile("org.apache.commons:commons-lang3:3.0")
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.3.4'
compile(group: "com.github.fge", name: "json-patch", version: "1.9")
testCompile group: 'com.openpojo', name: 'openpojo', version: '0.8.10'
// compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-hibernate5'
// compile group: 'io.rest-assured', name: 'rest-assured', version: '3.0.3'
// compile group: 'io.rest-assured', name: 'json-schema-validator', version: '3.0.3'
testCompile group: 'junit', name: 'junit'
compile fileTree(dir: "lib", include: "*.jar")
}
querydsl {
library = "com.querydsl:querydsl-apt:$querydslVersion"
querydslSourcesDir = "$buildDir/generated/source/main"
jpa = true
jdo = false
hibernate = false
morphia = false
roo = false
springDataMongo = false
querydslDefault = true
}
sourceSets {
main {
java {
srcDir "$buildDir/generated/source/main"
}
}
}
//jar {
// baseName = "sims-rest"
// version = "1.0.0-SNAPSHOT"
//}