I am using the shadow Gradle plugin to build a JAR containing all the jars mentioned inside.
In mine build.gradle, I only have
apply plugin: "com.github.johnrengelman.shadow"
and
jar {
manifest {
attributes 'Main-Class': 'MYCLASS'
}
}
related to this. I donβt know how he knows what to build, but it works.
Now, is it possible to include test classes?
source
share