This repository has been archived by the owner on Mar 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
69 lines (53 loc) · 1.74 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
buildscript {
repositories {
jcenter()
maven { url 'https://plugins.gradle.org/m2/' }
mavenLocal()
}
dependencies {
classpath 'io.spring.gradle:spring-release-plugin:0.20.1'
classpath 'com.netflix.nebula:nebula-project-plugin:3.4.0'
}
configurations.classpath.resolutionStrategy.cacheDynamicVersionsFor 0, 'minutes'
}
plugins {
id 'java-library'
}
apply plugin: 'io.spring.license'
apply plugin: 'io.spring.publishing'
group = 'io.micrometer.keycloak'
description = 'Keycloak SPI providing Micrometer metrics to popular monitoring systems'
repositories {
mavenCentral()
}
dependencies {
implementation 'io.micrometer:micrometer-core:latest.release'
implementation 'io.micrometer:micrometer-registry-prometheus:latest.release'
implementation 'org.keycloak:keycloak-server-spi-private:latest.release'
implementation 'org.keycloak:keycloak-server-spi:latest.release'
implementation 'org.keycloak:keycloak-services:latest.release'
implementation 'org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.0_spec:1.0.0.Final'
testImplementation 'org.junit.jupiter:junit-jupiter-api:latest.release'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:latest.release'
testImplementation 'org.assertj:assertj-core:latest.release'
}
test {
useJUnitPlatform()
}
contacts {
moniker 'Jon Schneider'
github 'jkschneider'
}
}
if (project.extensions.findByName('bintray')) {
bintray.labels = ['micrometer', 'metrics', 'prometheus', 'keycloak']
bintray.packageName = 'micrometer-keycloak'
}
license {
ext.year = Calendar.getInstance().get(Calendar.YEAR)
}
wrapper {
gradleVersion = '5.6.4'
}
defaultTasks 'build'