-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
61 lines (51 loc) · 1.84 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 'maven-publish'
id 'io.freefair.lombok' version '8.6'
id 'org.springframework.boot' version '3.2.3'
id 'io.spring.dependency-management' version '1.1.4'
}
repositories {
mavenCentral()
}
dependencies {
runtimeOnly group: 'com.h2database', name: 'h2', version: '2.2.224'
runtimeOnly group: 'com.mysql', name: 'mysql-connector-j', version: '8.3.0'
runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-impl', version: '0.12.5'
implementation group: 'org.jsoup', name: 'jsoup', version: '1.17.2'
implementation group: 'io.jsonwebtoken', name: 'jjwt-api', version: '0.12.5'
implementation group: 'io.jsonwebtoken', name: 'jjwt-gson', version: '0.12.5'
implementation group: 'org.springdoc', name: 'springdoc-openapi-starter-webmvc-ui', version: '2.4.0'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa', version: '3.2.3'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-security', version: '3.2.3'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-validation', version: '3.2.3'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: '3.2.3'
}
jar {
enabled = false
manifest {
attributes 'Main-Class': 'de.dhbw2go.backend.Application'
}
}
sourceSets {
main {
java {
srcDirs = ["src/main/java"]
}
}
test {
java {
srcDirs = ["src/test/java"]
}
}
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
compileJava { options.encoding = 'UTF-8' }
compileTestJava { options.encoding = 'UTF-8' }
javadoc { options.encoding = 'UTF-8' }
defaultTasks 'clean', 'build', 'test'
group = 'de.dhbw2go.backend'
version = '1.0-SNAPSHOT'