Exclude JUnit from Eclipse exported JAR

Viewed 3854

I'm using Eclipse JUnit integration which includes the JUnit library automatically into my project. The problem is that when I export my project using the Runnable JAR file destination, it includes JUnit.

Is there any way to exclude JUnit (and ideally the tests too) from the exported JAR?

3 Answers
Related