-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (39 loc) · 1.08 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
group 'io.github.joxebus'
version '1.0-SNAPSHOT'
buildscript {
// set custom variables
ext {
groovyVersion = '3.0.3'
spockVersion = '2.0-M3-groovy-3.0'
gradleBuildScanVersion = '2.0.2'
}
// check for dependencies in Maven Central when resolving the
// dependencies in the buildscript block
repositories {
mavenCentral()
maven {
url 'https://plugins.gradle.org/m2/'
}
}
// we need the spring boot plugin to run the build script
dependencies {
classpath "com.gradle:build-scan-plugin:${gradleBuildScanVersion}"
}
}
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'com.gradle.build-scan'
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
}
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile "org.codehaus.groovy:groovy-all:${groovyVersion}"
testCompile "org.spockframework:spock-core:${spockVersion}"
testCompile "org.spockframework:spock-spring:${spockVersion}"
}