-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
61 lines (52 loc) · 2.1 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
plugins {
id 'java'
id 'org.springframework.boot' version '2.7.7'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
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-web'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'com.mysql:mysql-connector-j'
runtimeOnly 'com.h2database:h2:2.1.214'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'com.h2database:h2:2.1.214'
// security
implementation 'org.springframework.boot:spring-boot-starter-security:2.7.7'
implementation 'io.jsonwebtoken:jjwt-api:0.11.2'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.2'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.2'
// Swagger
implementation 'io.springfox:springfox-swagger2:2.9.2'
// Google Vision Api
// implementation 'org.springframework.cloud:spring-cloud-gcp-starter-vision:1.2.8'
// TODO what is BOM??
implementation platform('com.google.cloud:libraries-bom:26.1.5')
implementation 'com.google.cloud:google-cloud-vision'
// Google API java client & youtube
implementation 'com.google.api-client:google-api-client:1.31.1'
implementation 'com.google.apis:google-api-services-youtube:v3-rev222-1.25.0'
implementation 'com.google.http-client:google-http-client-jackson2:1.42.3'
// Google translation
implementation 'com.google.cloud:google-cloud-translate'
// Firebase
implementation group: 'com.google.firebase', name: 'firebase-admin', version: '8.1.0'
}
tasks.named('test') {
useJUnitPlatform()
}