On Mon, 2009-03-23 at 13:46 +0100, Tom Eyckmans wrote: > > > I will perform the experiment of ensuring no debug in Gradle > and see if > they are then the same size -- if I can find the right line to > put > in :-) > > > compile.options.debug = false
Thanks. This is not entirely obvious from the documentation -- at least not for me today. I put this is and certainly the size of the jar went down: OLD: -rw------- 1 russel russel 229210 2009-03-22 12:12 ADS-3.2.0-SNAPSHOT.jar NEW: -rw------- 1 russel russel 220965 2009-03-23 13:10 ADS-3.2.0-SNAPSHOT.jar However, Maven still comes in at: -rw------- 1 russel russel 197938 2009-03-22 12:29 ads-3.2.0-SNAPSHOT.jar So there is another 23K hidden away somewhere in Gradle/Maven differences. But perhaps the option doesn't always do what is desired: Gradle: |> jar tvf build/ADS-3.2.0-SNAPSHOT.jar org/devjavasoft/ads/AVLTree.class 3999 Mon Mar 23 11:42:00 GMT 2009 org/devjavasoft/ads/AVLTree.class Maven: |> jar tvf /home/users/russel/.m2/repository/org/devjavasoft/ads/3.2.0-SNAPSHOT/ads-3.2.0-SNAPSHOT.jar org/devjavasoft/ads/AVLTree.class 3164 Sun Mar 22 12:07:44 GMT 2009 org/devjavasoft/ads/AVLTree.class -- Russel. ============================================================ Dr Russel Winder Partner Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203 41 Buckmaster Road, f: +44 8700 516 084 voip: sip:[email protected] London SW11 1EN, UK. m: +44 7770 465 077 xmpp: [email protected]
signature.asc
Description: This is a digitally signed message part
