-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
72 lines (62 loc) · 2.24 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
buildscript {
ext {
palantirGradleDockerVersion = '0.19.2'
}
dependencies {
classpath("gradle.plugin.com.palantir.gradle.docker:gradle-docker:${palantirGradleDockerVersion}")
}
}
plugins {
id 'org.springframework.boot' version '2.4.2'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
apply plugin: 'com.palantir.docker'
group = 'hr.kn'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
maven {
url "https://repo.clojars.org/"
}
maven {
url "https://repository.hellonico.info/repository/hellonico"
}
}
dependencies {
compileOnly 'org.projectlombok:lombok'
implementation 'org.springframework.boot:spring-boot-starter'
compile group: 'com.github.pengrad', name: 'java-telegram-bot-api', version: '5.0.0'
compile 'org.springframework.boot:spring-boot-starter-webflux'
compile group: 'org.eclipse.jetty', name: 'jetty-reactive-httpclient', version: '1.1.4'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
compile group: 'origami', name: 'origami', version: '4.2.0-1'
compile group: 'origami', name: 'filters', version: '1.4'
compile group: 'origami', name: 'optimized-image-enhanced', version: '1.0'
compile group: 'info.picocli', name: 'picocli', version: '4.1.0'
compile group: 'io.github.vzhn', name: 'netty-http-authenticator', version: '1.1'
compile group: 'org.apache.httpcomponents.client5', name: 'httpclient5', version: '5.0.3'
compile group: 'org.apache.httpcomponents.core5', name: 'httpcore5-reactive', version: '5.0.3'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
annotationProcessor 'org.projectlombok:lombok'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}
test {
useJUnitPlatform()
}
docker {
name "${project.name}"
tags "latest"
files jar.archivePath
buildArgs(['JAR_FILE': "${jar.archiveName}"])
}
docker.dependsOn build