-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
76 lines (68 loc) · 2.3 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
buildscript {
ext {
springBootVersion = '2.0.2.RELEASE'
swaggerVersion = '2.7.0'
pahoVersion = '1.1.1'
queryDslPluginVersion = '1.0.9'
lombokVersion = '3.3.0'
}
repositories {
mavenCentral()
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:${queryDslPluginVersion}")
classpath("io.franzbecker:gradle-lombok:${lombokVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: "com.ewerk.gradle.plugins.querydsl" // Plugin 적용
apply plugin: "io.franzbecker.gradle-lombok"
def querydslSrcDir = 'src/main/generated' // QClass 생성 위치
querydsl {
library = "com.querydsl:querydsl-apt"
jpa = true
querydslSourcesDir = querydslSrcDir
}
sourceSets {
main {
java {
srcDirs = ['src/main/java', querydslSrcDir]
}
}
}
group = 'com.midas2018mobile5'
version = '1.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
configurations {
provideRuntime
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-amqp')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.springframework.boot:spring-boot-starter-data-redis')
compile('org.springframework.boot:spring-boot-starter-data-rest') {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-data-json'
}
compile('org.springframework.boot:spring-boot-starter-security')
compile("org.eclipse.paho:org.eclipse.paho.client.mqttv3:$pahoVersion")
compile('com.google.code.gson:gson')
compile("com.querydsl:querydsl-apt")
compile("com.querydsl:querydsl-jpa")
compile group: 'io.jsonwebtoken', name: 'jjwt', version: '0.7.0'
compileOnly("org.springframework.boot:spring-boot-configuration-processor")
runtime('org.springframework.boot:spring-boot-devtools')
runtime('mysql:mysql-connector-java')
compile('org.projectlombok:lombok')
testCompile('org.springframework.boot:spring-boot-starter-test')
}