-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
62 lines (54 loc) · 1.38 KB
/
build.gradle
File metadata and controls
62 lines (54 loc) · 1.38 KB
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
allprojects {
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.6.0")
}
}
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'application'
// bootJar {
// version = '3.0.6'
// }
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
testImplementation("junit:junit")
implementation 'com.github.freeclimbapi:java-sdk:5.5.3'
implementation("com.squareup.okhttp3:okhttp:4.9.3")
implementation("com.squareup.okhttp3:logging-interceptor:4.9.3")
implementation 'io.github.cdimascio:dotenv-java:3.0.0'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.13.1'
}
mainClassName = 'main.java.hello.Application'
jar {
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
manifest {
attributes(
'Main-Class': 'main.java.receive_a_message.Application'
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceSets {
main {
java {
srcDirs = ['src']
}
}
}