This repository has been archived by the owner on Feb 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
67 lines (55 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
plugins {
id "java"
id "idea"
id "org.springframework.boot" version "$springBootVersion"
id "io.spring.dependency-management" version "$springDependencyManagementVersion"
id "com.google.cloud.tools.jib" version "$jibVersion"
id "com.github.node-gradle.node" version "$nodeGradleVersion"
}
repositories {
mavenCentral()
mavenLocal()
}
group = 'cc.techial'
version = '0.0.1'
description = 'knowledge'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
apply from: "gradle/docker.gradle"
apply from: "gradle/node.gradle"
apply from: "gradle/idea.gradle"
apply from: "gradle/proxy.gradle"
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-aop'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-aop'
implementation "org.jetbrains:annotations:$jetbrainsAnnotationsVersion"
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
// Hibernate h2 cache
implementation "org.hibernate:hibernate-jcache"
implementation "javax.cache:cache-api"
implementation "org.redisson:redisson:$redissonVersion"
implementation "org.springframework.session:spring-session-core"
implementation "org.springframework.boot:spring-boot-starter-cache"
implementation "com.github.vanroy:spring-boot-starter-data-jest:$jestVersion"
runtimeOnly "mysql:mysql-connector-java:$mysqlConnectorVesion"
runtimeOnly "org.springframework.boot:spring-boot-devtools"
// map struct
implementation "org.mapstruct:mapstruct:$mapstructVersion"
annotationProcessor "org.mapstruct:mapstruct-processor:$mapstructVersion"
// QueryDSL
annotationProcessor "com.querydsl:querydsl-apt:$querydslVersion:jpa"
annotationProcessor "org.springframework.boot:spring-boot-starter-data-jpa"
implementation "com.querydsl:querydsl-jpa:$querydslVersion"
}
test {
useJUnitPlatform()
}
bootJar {
launchScript()
}