-
Notifications
You must be signed in to change notification settings - Fork 29
/
build.gradle
49 lines (40 loc) · 990 Bytes
/
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'
id 'maven-publish'
}
group 'at.klausbetz'
version '1.13.0'
java.sourceCompatibility = JavaVersion.VERSION_11
ext {
keycloakVersion = '25.0.0'
}
repositories {
mavenCentral()
}
dependencies {
compileOnly "org.keycloak:keycloak-core:$keycloakVersion"
compileOnly "org.keycloak:keycloak-server-spi:$keycloakVersion"
compileOnly "org.keycloak:keycloak-server-spi-private:$keycloakVersion"
compileOnly "org.keycloak:keycloak-services:$keycloakVersion"
testImplementation "org.keycloak:keycloak-services:$keycloakVersion"
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.0'
}
test {
useJUnitPlatform()
}
java {
withSourcesJar()
withJavadocJar()
}
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
}
// run 'gradle wrapper' to regenerate gradle/ folder
wrapper {
gradleVersion = "8.0.2"
distributionType = Wrapper.DistributionType.BIN
}