How to Create a single Jar file from some of sub modules/projects

I want to create a jar from few of my subproject. And from one of these sub/project I want to include only one package. How can I achieve this in Gradle. I am using Gradle 1.4

Thanks in advance.