How do I configure Gradle to include main classes as well as test classes into my .jar archive. Currently the .jar that gets built in the **build/libs** directory is missing my test classes. It is only including classes sourced from **project-root/src/main/java/com/package** in the .jar after Gradle compiles them into **project-root/bin/com/package/** .

```
jar {
    manifest {
        attributes 'Implementation-Title': title, 'Implementation-Version': version, 'Main-Class': mainTestClass
    }
}

```

The wierd thing is that while Gradle is putting the compiled test classes into **project-root/bin/com/package/** ALONG with the main classes, it strangely is deciding to not put them into the .jar archive. So, how do I get the .jar to also include the test classes that were originally sourced in the **project-root/src/test/java/com/package/** directory?

[Here is my build.gradle file](https://gist.github.com/4108725) that I need help with.