-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
77 lines (55 loc) · 1.9 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
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'org.springframework.boot' version '2.6.0'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'java'
id 'application'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web:2.6.0'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:2.6.0'
implementation 'org.springframework.kafka:spring-kafka:2.8.0'
implementation 'org.springframework.boot:spring-boot-starter-data-redis:2.6.0'
implementation 'redis.clients:jedis:3.7.0'
implementation 'org.apache.commons:commons-pool2:2.11.1'
implementation 'org.springframework.boot:spring-boot-starter-security:2.6.0'
implementation 'org.springframework.security.oauth:spring-security-oauth2:2.1.4.RELEASE'
implementation 'org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure:2.1.4.RELEASE'
implementation 'org.projectlombok:lombok:1.18.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
runtimeOnly 'com.h2database:h2:1.4.200'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.6.0'
testImplementation 'org.springframework.kafka:spring-kafka-test:2.8.0'
}
group = 'com.hcl.cb'
version = '1.0.0'
sourceCompatibility = '1.8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
application {
mainClassName = 'demo.App'
}
jar {
manifest {
attributes "Main-Class": "demo.App"
}
}
task fatJar(type: Jar) {
manifest {
attributes "Main-Class": "com.example.parser.BigQueryDemo"
}
duplicatesStrategy = DuplicatesStrategy.WARN
baseName = "${rootProject.name}"
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
test {
useJUnitPlatform()
}