From f8a3b45b926bf2c969c633f2aea44f4c8f007d62 Mon Sep 17 00:00:00 2001
From: sunlan <sunlan@apache.org>
Date: Fri, 8 Dec 2017 08:01:10 +0800
Subject: [PATCH] Speed up class loading of groovy-all files

---
 gradle/assemble.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gradle/assemble.gradle b/gradle/assemble.gradle
index 20d74d6efd5..42e9e2b76a0 100644
--- a/gradle/assemble.gradle
+++ b/gradle/assemble.gradle
@@ -397,7 +397,7 @@ task jarAll(type: Jar, dependsOn: replaceJarWithJarJar) {
 
         ant {
             copy(file: archivePathTmp, tofile: archivePath)
-            jar(destfile: archivePath, update:true, manifest: manifestPath) {
+            jar(destfile: archivePath, update: true, index: true, manifest: manifestPath) {
                 zipfileset(src: jar.archivePath, excludes:'META-INF')
             }
             delete(file: archivePathTmp, quiet: true, deleteonexit: true)
