groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject [groovy] 02/02: Prefer jars over class folders on the compile classpath
Date Sat, 02 Nov 2019 13:48:57 GMT
This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 20b83b8c22bbb6b929dfa37706de583489ecf4de
Author: Daniel Sun <sunlan@apache.org>
AuthorDate: Sat Nov 2 21:48:02 2019 +0800

    Prefer jars over class folders on the compile classpath
    
    On Windows, very large multi-projects can suffer from a significant performance decrease
in Java compilation when switching from the java to the java-library plugin. This is caused
by the large number of class files on the classpath.
    
    You can now tell the java-library plugin to prefer jars over class folders on the compile
classpath by setting the org.gradle.java.compile-classpath-packaging system property to true.
---
 gradle.properties | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gradle.properties b/gradle.properties
index f45356c..f44d485 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -40,3 +40,6 @@ org.gradle.caching=true
 
 # enable --parallel
 org.gradle.parallel=true
+
+# prefer jars over class folders on the compile classpath
+org.gradle.java.compile-classpath-packaging=true


Mime
View raw message