-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
39 lines (32 loc) · 927 Bytes
/
build.gradle.kts
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
plugins {
java
}
group = "com.github.fassmus"
version = "1.0.0"
repositories {
mavenCentral()
}
dependencies {
val jbossLoggingVersion = "3.4.1.Final"
val keycloakVersion = "15.0.1"
// JBoss
compileOnly("org.jboss.logging:jboss-logging:$jbossLoggingVersion")
// Keycloak
compileOnly("org.keycloak:keycloak-common:$keycloakVersion")
compileOnly("org.keycloak:keycloak-core:$keycloakVersion")
compileOnly("org.keycloak:keycloak-server-spi:$keycloakVersion")
compileOnly("org.keycloak:keycloak-server-spi-private:$keycloakVersion")
}
tasks {
jar {
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) }) {
exclude("META-INF/MANIFEST.MF")
exclude("META-INF/*.SF")
exclude("META-INF/*.DSA")
exclude("META-INF/*.RSA")
}
}
wrapper {
gradleVersion = "6.4"
}
}