projects
/
Sone.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd1f93d
)
👷 Run tests in parallel
author
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Sat, 4 May 2019 19:23:30 +0000
(21:23 +0200)
committer
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Sat, 4 May 2019 19:23:30 +0000
(21:23 +0200)
build.gradle
patch
|
blob
|
history
diff --git
a/build.gradle
b/build.gradle
index
1cee731
..
4709a8b
100644
(file)
--- a/
build.gradle
+++ b/
build.gradle
@@
-60,6
+60,10
@@
dependencies {
apply from: 'version.gradle'
+test {
+ maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
+}
+
task fatJar(type: Jar) {
archiveName = project.name + '-jar-with-dependencies.jar'
from { (configurations.runtime - configurations.provided).collect { it.isDirectory() ? it : zipTree(it) } }