changeset 4032:72ced9c9c4c0

Gradle build: Rename the swt jar to something the IDE can expect
author Richard Bair <richard.bair@oracle.com>
date Fri, 21 Jun 2013 15:47:30 -0700
parents f78fc2ff7c9a
children ca9851d83c7d
files build.gradle
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/build.gradle	Fri Jun 21 15:03:23 2013 -0700
+++ b/build.gradle	Fri Jun 21 15:47:30 2013 -0700
@@ -1114,12 +1114,18 @@
                 copy {
                     into libsDir
                     from f.getParentFile()
-                    include "**/*swt*.jar"
                     include "**/antlr-3.1.3.jar"
                     include "**/stringtemplate-3.2.jar"
                     include "**/antlr-runtime-3.1.3.jar"
                     includeEmptyDirs = false
                 }
+                copy {
+                    into libsDir
+                    from f.getParentFile()
+                    include "**/*swt*.jar"
+                    includeEmptyDirs = false
+                    rename ".*swt.*jar", "swt\\.jar"
+                }
             }
         }
     }