/
build.gradle
49 lines (41 loc) · 1.43 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
buildscript {
repositories {
mavenCentral()
}
}
plugins {
id 'java'
id 'org.springframework.boot' version "${springBootVersion}"
id "io.spring.dependency-management" version "${springDependencyManagementVersion}"
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
compileOnly "org.projectlombok:lombok:${lombokVersion}"
implementation "org.keycloak:keycloak-spring-boot-starter:${keycloakVersion}"
implementation "org.springframework.boot:spring-boot-devtools:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-actuator:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-security:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-web:${springBootVersion}"
implementation "org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:${springCloudVersion}"
testImplementation "org.springframework.boot:spring-boot-starter-test:${springBootVersion}"
}
group = 'org.sagebionetworks.challenge'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
springBoot {
mainClass = 'org.sagebionetworks.challenge.ChallengeAuthServiceApplication'
}
bootBuildImage {
imageName = 'ghcr.io/sage-bionetworks/openchallenges-auth-service:local'
}