-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
106 lines (82 loc) ยท 3.36 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
105
106
plugins {
id 'org.springframework.boot' version '2.6.5'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id "com.ewerk.gradle.plugins.querydsl" version "1.0.10"
id 'java'
}
group = 'com.depromeet'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation 'com.querydsl:querydsl-jpa'
implementation 'com.querydsl:querydsl-apt'
implementation 'org.springframework.boot:spring-boot-starter-validation'
// Swagger 3.0.0
implementation 'io.springfox:springfox-boot-starter:3.0.0'
// Image Scaling
implementation group: 'com.mortennobel', name: 'java-image-scaling', version: '0.8.6'
// AWS Library
implementation group: 'org.springframework.cloud', name: 'spring-cloud-starter-aws', version: '2.2.6.RELEASE'
// Utility Class Package
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
// JWT Token Library
implementation 'io.jsonwebtoken:jjwt-api:0.11.2'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.2'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.2'
// for processing warning message (javax.annotation.meta.WHEN)
implementation 'com.google.code.findbugs:jsr305:3.0.2'
//lucy
implementation group: 'com.navercorp.lucy', name: 'lucy-xss-servlet', version: '2.0.1'
implementation 'com.navercorp.lucy:lucy-xss:1.6.3'
//StringEscapeUtils ๋ฅผ ์ฌ์ฉํ๊ธฐ ์ํด commons-text ์์กด์ฑ ์ถ๊ฐ
implementation 'org.apache.commons:commons-text:1.8'
// validate
implementation 'org.springframework.boot:spring-boot-starter-validation'
// Sentry
implementation("io.sentry:sentry-spring-boot-starter:6.0.0")
implementation 'junit:junit:4.13.1'
compile group: 'com.newrelic.agent.java', name: 'newrelic-agent', version: '7.6.0'
compile group: 'com.newrelic.agent.java', name: 'newrelic-api', version: '7.6.0'
runtimeOnly 'mysql:mysql-connector-java'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testCompileOnly 'org.projectlombok:lombok'
testAnnotationProcessor 'org.projectlombok:lombok'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}
tasks.named('test') {
useJUnitPlatform()
}
def querydslDir = "$buildDir/generated/querydsl"
querydsl {
library = "com.querydsl:querydsl-apt"
jpa = true
querydslSourcesDir = querydslDir
}
def profile = project.hasProperty("profile") ? project.property("profile").toString() : "local"
println "profile : $profile"
ext.profile = (!project.hasProperty('profile') || !profile) ? "$profile" : profile
sourceSets {
main.java.srcDir querydslDir
main.resources.srcDirs("src/main/resources", "src/main/resources-$profile")
}
tasks {
processResources {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
}
configurations {
querydsl.extendsFrom compileClasspath
}
compileQuerydsl {
options.annotationProcessorPath = configurations.querydsl
}