-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
50 lines (37 loc) · 1.16 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
plugins {
id 'org.springframework.boot' version '2.1.4.RELEASE'
id 'java'
id 'eclipse'
id 'com.palantir.docker' version '0.22.1'
}
repositories {
mavenLocal()
mavenCentral()
}
apply plugin: 'io.spring.dependency-management'
group = 'org.gitlab4j'
version = '0.0.1-SNAPSHOT'
description = 'Simple-CR - GitLab Code Reviews, Simplifed'
sourceCompatibility = 1.8
targetCompatibility = 1.8
ext {
gitlab4jVersion = '4.11.12'
h2Version = '1.4.199'
}
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-mail'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation "org.gitlab4j:gitlab4j-api:${gitlab4jVersion}"
runtimeOnly "com.h2database:h2:$h2Version"
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
docker {
name "${project.group}/${bootJar.baseName}:${project.version}"
tags 'latest'
dependsOn build
files bootJar
dockerfile file('src/main/docker/Dockerfile')
buildArgs([BUILD_VERSION: project.version])
}