-
Notifications
You must be signed in to change notification settings - Fork 103
/
build.gradle
59 lines (50 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
buildscript {
ext {
springBootVersion = '2.4.5'
aptPluginVersion = '0.19'
dekorateVersion = System.getProperty("dekorateVersion", "0.10.0")
junitVersion = '5.3.1'
junitGraldePluginVersion = '1.1.0'
}
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("net.ltgt.gradle:gradle-apt-plugin:${aptPluginVersion}")
classpath("org.junit.platform:junit-platform-gradle-plugin:${junitGraldePluginVersion}")
}
}
apply plugin: 'groovy'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: "net.ltgt.apt"
apply plugin: 'org.junit.platform.gradle.plugin'
group = 'io.dekorate.examples'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
mavenLocal()
}
compileGroovy {
groovyOptions.javaAnnotationProcessing = true
}
junitPlatform {
enableStandardTestTask = true
}
dependencies {
implementation('org.springframework.boot:spring-boot-starter-web')
implementation('org.springframework.boot:spring-boot-starter-actuator')
implementation('org.codehaus.groovy:groovy')
compile("io.dekorate:openshift-spring-starter:${dekorateVersion}")
annotationProcessor("io.dekorate:openshift-annotations:${dekorateVersion}")
annotationProcessor("io.dekorate:dekorate-spring-boot:${dekorateVersion}")
annotationProcessor('org.springframework.boot:spring-boot-starter-actuator') //We need `dekorate` to see the actuator classes
testRuntime("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
testImplementation("io.dekorate:openshift-junit:${dekorateVersion}")
}