diff --git a/build.gradle b/build.gradle index c351d76..88c39bd 100644 --- a/build.gradle +++ b/build.gradle @@ -1,30 +1,34 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. - -buildscript { - repositories { - google() - jcenter() - } - dependencies { - classpath 'com.android.tools.build:gradle:3.2.0' - - // NOTE: Do not place your application dependencies here; they belong - // in the individual module build.gradle files - } -} - -allprojects { - repositories { - google() - maven { url "https://maven.google.com" } - maven { url "https://jitpack.io" } - jcenter() - flatDir { - dirs 'libs' - } - } -} - -task clean(type: Delete) { - delete rootProject.buildDir -} +// Top-level build file where you can add configuration options common to all sub-projects/modules. + +buildscript { + repositories { + google() + jcenter() + } + dependencies { + classpath 'com.android.tools.build:gradle:3.2.0' + + // NOTE: Do not place your application dependencies here; they belong + // in the individual module build.gradle files + } +} + +allprojects { + tasks.withType(Test).configureEach { + forkEvery = 100 + } + + repositories { + google() + maven { url "https://maven.google.com" } + maven { url "https://jitpack.io" } + jcenter() + flatDir { + dirs 'libs' + } + } +} + +task clean(type: Delete) { + delete rootProject.buildDir +} \ No newline at end of file