-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (41 loc) · 1.54 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
plugins {
id 'java'
}
version '1.0'
def springVersion = '5.3.8'
def karyonVersion = '2.2.0-rc.2'
def junit5Version = '5.7.0'
sourceCompatibility = '8'
repositories {
mavenCentral()
}
dependencies {
implementation 'junit:junit:4.13.1'
testImplementation "org.junit.jupiter:junit-jupiter-api:${junit5Version}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junit5Version}"
implementation(["org.springframework:spring-core:${springVersion}",
"org.springframework:spring-context:${springVersion}",
"org.springframework:spring-beans:${springVersion}",
"org.springframework:spring-test:${springVersion}",
"com.netflix.karyon:karyon2-core:${karyonVersion}",
"com.netflix.karyon:karyon2-governator:${karyonVersion}",
"javax.ws.rs:javax.ws.rs-api:2.1.1",
"io.reactivex:rxjava:1.3.8",
"io.reactivex:rxnetty:0.5.1",
"io.netty:netty-codec-http:4.1.53.Final",
'org.slf4j:slf4j-simple:1.7.0',
'org.slf4j:slf4j-simple:1.7.0'])
compileOnly group: 'javax.servlet', name: 'javax.servlet-api', version: '4.0.1'
}
jar {
manifest {
attributes 'Main-Class': 'com.felipesimoes1.cloud.tema08.MainRunner'
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
test {
useJUnitPlatform()
}