-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
69 lines (61 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
plugins {
id 'org.springframework.boot' version '2.7.4'
id 'io.spring.dependency-management' version '1.0.14.RELEASE'
id 'java'
id 'eclipse'
id 'groovy'
}
repositories {
mavenCentral()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
}
// project configuration
sourceCompatibility = '11'
group = 'com.hectorlopezfernandez'
version = '0.0.1-SNAPSHOT'
sourceSets {
main {
resources {
srcDir 'src/main/web'
}
}
}
configurations {
implementation.exclude module: 'spring-boot-starter-tomcat'
testImplementation.exclude module: 'spring-boot-starter-tomcat'
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation ('org.springframework.boot:spring-boot-starter-jetty') {
exclude group: 'org.eclipse.jetty.websocket', module: 'websocket-server'
exclude group: 'org.eclipse.jetty.websocket', module: 'javax-websocket-server-impl'
}
implementation 'org.eclipse.jetty.http2:http2-server'
implementation 'org.eclipse.jetty:jetty-alpn-java-server'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-hateoas'
implementation 'io.pebbletemplates:pebble-spring-boot-starter:3.1.0'
implementation 'com.hectorlopezfernandez.pebble:spring-security-extension:2.0.0-SNAPSHOT'
implementation 'javax.inject:javax.inject:1'
implementation 'org.jsoup:jsoup:1.15.3'
implementation 'de.bwaldvogel:mongo-java-server:1.41.0'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation platform('org.spockframework:spock-bom:2.3-groovy-3.0')
testImplementation 'org.spockframework:spock-core'
testImplementation 'org.spockframework:spock-spring'
testImplementation 'net.bytebuddy:byte-buddy'
testImplementation 'org.objenesis:objenesis:3.3'
testImplementation 'cglib:cglib-nodep:3.3.0'
}
test {
useJUnitPlatform()
}
// local run marker task
task start(dependsOn: bootRun) {
outputs.upToDateWhen { false }
}