X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=build.gradle;h=4709a8b0ef106d38c96325f69fd54de8c5947fd4;hp=1cee731553a6a7b3b4152db341588b47c19e2d9f;hb=d1d44c47da8cd6c2452d5fd0cf6b7f56cdf5d2b4;hpb=cd1f93dc057bdc6e89baeb41db0f749f2287224e diff --git a/build.gradle b/build.gradle index 1cee731..4709a8b 100644 --- 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) } }