Skip to content
Snippets Groups Projects

Improve GRADLE build Performance

Closed Janne Mareike Koschinski requested to merge ChenZhangg-Modify_GRADLE_1 into main
1 file
+ 18
0
Compare changes
  • Side-by-side
  • Inline
+ 18
0
@@ -16,4 +16,22 @@
@@ -16,4 +16,22 @@
* You should have received a copy of the GNU General Public License along
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
*/
 
allprojects {
 
tasks.withType(Test).configureEach {
 
maxParallelForks = 4
 
}
 
tasks.withType(Test).configureEach {
 
forkEvery = 100
 
}
 
 
tasks.withType(Test).configureEach {
 
reports.html.required = false
 
reports.junitXml.required = false
 
}
 
 
tasks.withType(JavaCompile).configureEach {
 
options.incremental = true
 
}
 
 
}
Loading