-
Notifications
You must be signed in to change notification settings - Fork 41
/
build.gradle
60 lines (49 loc) · 1.39 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
buildscript {
repositories {
mavenLocal()
maven { url 'https://repo.grails.org/grails/libs-snapshots-local/' }
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsGradlePluginVersion"
classpath "org.grails:grails-docs:${project.ext.properties.grailsDocsVersion ?: grailsVersion}"
classpath 'io.github.groovylang.groovydoc:groovydoc-gradle-plugin:1.0.1'
}
}
plugins {
id "com.adarshr.test-logger" version "2.0.0"
}
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
}
version project.projectVersion
ext {
commonBuild = new File(project.rootDir, "gradle").absolutePath
}
subprojects {
version project.projectVersion
apply plugin:'groovy'
apply plugin:'com.adarshr.test-logger'
ext {
userOrg = "grails"
isGrailsPlugin = name.startsWith('grails-plugin')
isBuildSnapshot = version.toString().endsWith("-SNAPSHOT")
}
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
tasks.withType(Test) {
useJUnitPlatform()
testLogging {
events "failed"
exceptionFormat "full"
}
testlogger {
theme 'mocha'
}
}
}