-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
104 lines (97 loc) · 2.59 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
102
103
104
plugins {
id 'org.springframework.boot' version '2.5.4'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'idea'
id 'com.ewerk.gradle.plugins.querydsl' version '1.0.10'
}
group = 'SK-Rookie'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '8'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
querydsl {
extendsFrom compileClasspath
}
}
def queryDslDir = "$buildDir/generated/sources/annotationProcessor/java/main"
querydsl {
jpa = true
querydslSourcesDir = queryDslDir
}
sourceSets {
main {
java {
srcDir queryDslDir
}
}
}
compileQuerydsl {
options.annotationProcessorPath = configurations.querydsl
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-mustache'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation group: 'org.modelmapper', name: 'modelmapper', version: '2.3.8'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'junit:junit:4.13.2'
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
implementation 'com.mysema.querydsl:querydsl-jpa:3.7.4'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'mysql:mysql-connector-java'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'io.jsonwebtoken:jjwt-api:0.11.2'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.2'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.2'
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
annotationProcessor 'javax.annotation:javax.annotation-api:1.3.2'
implementation 'com.querydsl:querydsl-jpa'
implementation 'com.querydsl:querydsl-apt'
annotationProcessor 'com.querydsl:querydsl-apt'
}
test {
useJUnitPlatform()
}
ext {
querydslSrcDir = 'src/main/generated'
queryDslVersion = '4.1.4' }
configurations {
querydsl.extendsFrom compileClasspath
}
querydsl {
library = "com.querydsl:querydsl-apt"
querydslSourcesDir = 'src/main/generated'
jpa = true
querydslDefault = true
}
sourceSets {
main {
java {
srcDirs += file(querydslSrcDir)
}
}
}
idea {
module {
generatedSourceDirs += file(querydslSrcDir)
}
}
compileQuerydsl {
options.annotationProcessorPath = configurations.querydsl
}
jar {
manifest {
attributes(
'Main-Class': 'SKRookie.moamoa.MoamoaApplication'
)
}
}