forked from tynn-xyz/BuildSrc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (47 loc) · 1.35 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
buildscript {
repositories {
mavenCentral()
}
}
plugins {
id 'com.gradle.plugin-publish' version '0.10.1' apply false
id 'org.jetbrains.gradle.plugin.idea-ext' version '0.7'
}
apply from: 'deps.gradle'
subprojects {
group = 'xyz.tynn.buildsrc'
repositories {
mavenCentral()
}
plugins.withId('java-gradle-plugin') {
project.apply plugin: 'com.gradle.plugin-publish'
pluginBundle {
website = 'https://github.com/tynn-xyz/BuildSrc/blob/master/README.md'
vcsUrl = 'https://github.com/tynn-xyz/BuildSrc/'
}
tasks.named('testClasses') {
dependsOn tasks.pluginUnderTestMetadata
}
idea.project.settings {
idea.project.settings {
delegateActions {
//noinspection UnnecessaryQualifiedReference
testRunner = org.jetbrains.gradle.ext.ActionDelegationConfig.TestRunner.GRADLE
delegateBuildRunToGradle = true
}
}
}
}
afterEvaluate {
test {
useJUnitPlatform()
testLogging {
events 'failed', 'passed'
exceptionFormat 'full'
showCauses true
showExceptions true
showStackTraces true
}
}
}
}