-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (50 loc) · 1.59 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
/**
* Info
*
* -> Run Application "bootRun"
* -> Deploy Application "bootJar" (SpringBoot overrides the normal Jar-Plug)
*
*/
plugins {
id 'java'
id 'groovy'
id 'org.springframework.boot' version '2.5.3'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
}
repositories {
mavenLocal()
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}
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-websocket')
implementation 'net.wimpi:jamod:1.2'
implementation 'commons-codec:commons-codec:1.15'
implementation 'com.typesafe.akka:akka-actor_2.13:2.6.15'
runtimeOnly 'com.h2database:h2:1.4.200'
testImplementation group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.5.14', ext: 'pom'
testImplementation group: 'org.spockframework', name: 'spock-core', version: '2.0-M5-groovy-2.5'
testImplementation group: 'org.spockframework', name: 'spock-spring', version: '2.0-M5-groovy-2.5'
}
group = 'x'
version = '2.2.9'
description = 'Alpdesk-Automationservice'
java.sourceCompatibility = JavaVersion.VERSION_11
springBoot {
mainClass = 'x.main.XHomeautomationMain'
}
/*task runOtherJar(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'my.pakage.mainclass'
workingDir = "${projectDir}/src/main/resources"
args = []
}*/
test {
useJUnitPlatform()
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}