Using the distribution plugin without a top level folder?


(Juan Valencia) #1

I am using the distribution plugin, but need the output to not contain a top level folder with the version number. Rather, just the included contents should be there. How do I do that? http://www.gradle.org/docs/current/javadoc/org/gradle/api/distribution/Distribution.html

so if I look at the tar structure, it should be: drwxr-xr-x 0/0

0 2013-12-05 16:59 bin/ drwxr-xr-x 0/0

0 2013-12-05 16:59 conf/

instead of

drwxr-xr-x 0/0

0 2013-12-05 16:59 BaseName-0.1.9/ drwxr-xr-x 0/0

0 2013-12-05 16:59 BaseName-0.1.9/bin/ drwxr-xr-x 0/0

0 2013-12-05 16:59 BaseName-0.1.9/conf/