-
Notifications
You must be signed in to change notification settings - Fork 41
/
build.gradle
70 lines (58 loc) · 1.62 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
70
buildscript {
repositories {
maven { url "https://repo.grails.org/grails/core/" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:${grailsGradlePluginVersion}"
}
}
plugins {
id 'com.adarshr.test-logger' version '4.0.0'
}
allprojects {
repositories {
maven { url "https://repo.grails.org/grails/core" }
}
}
version project.projectVersion
group 'io.github.longwa'
subprojects {
version project.projectVersion
group 'io.github.longwa'
apply plugin: 'groovy'
project.compileJava.options.release = 17
apply plugin: 'com.adarshr.test-logger'
testlogger {
theme 'mocha'
showFullStackTraces true
showStandardStreams true
showPassedStandardStreams false
showSkippedStandardStreams false
showFailedStandardStreams true
}
test.testLogging {
events "failed"
exceptionFormat "full"
}
tasks.withType(Test).configureEach { testPlatform ->
useJUnitPlatform()
// GitHub actions does not have the country set, only the language so force both here for tests to pass and be consistent
systemProperty 'user.country', 'US'
systemProperty 'user.language', 'en'
}
if (project.name == 'build-test-data') {
apply plugin: "org.grails.grails-publish"
grailsPublish {
githubSlug = 'longwa/build-test-data'
artifactId = 'build-test-data'
groupId = 'io.github.longwa'
license {
name = 'Apache-2.0'
}
title = 'Build Test Data Grails Plugin'
desc = 'Enables the easy creation of test data by automatically satisfying common constraints'
developers = [longwa: 'Aaron Long', tednaleid: 'Ted Naleid', basejump: 'Joshua Burnett']
}
}
}
apply from: rootProject.file("gradle/docs.gradle")