-
Notifications
You must be signed in to change notification settings - Fork 32
/
build.gradle
48 lines (42 loc) · 1.3 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
plugins {
id 'com.github.johnrengelman.shadow' version '5.2.0'
id 'java'
id 'java-library'
id "io.freefair.lombok" version "4.1.6"
id 'ear'
}
group = 'com.example'
version = '1.0.0-SNAPSHOT'
sourceCompatibility = '1.8'
configurations {
bundleLib
}
repositories {
mavenCentral()
}
dependencies {
implementation('org.keycloak:keycloak-core:8.0.1')
implementation('org.keycloak:keycloak-server-spi:8.0.1')
implementation('org.keycloak:keycloak-services:8.0.1')
bundleLib group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
bundleLib group: 'mysql', name: 'mysql-connector-java', version: '8.0.18'
bundleLib group: 'org.slf4j', name: 'slf4j-log4j12', version: '2.0.0-alpha1'
bundleLib group: 'org.slf4j', name: 'slf4j-jdk14', version: '2.0.0-alpha1'
implementation('org.projectlombok:lombok:1.18.10')
bundleLib group: 'org.hibernate', name: 'hibernate-core', version: '5.4.10.Final'
testImplementation('org.junit.jupiter:junit-jupiter:5.5.2')
testImplementation('org.mockito:mockito-core:3.2.4')
testImplementation('org.assertj:assertj-core:3.14.0')
configurations.compile.extendsFrom(configurations.bundleLib)
}
jar {
from {
configurations.bundleLib.collect { it.isDirectory() ? it : zipTree(it) }
}
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}