Retro style of a full build & export system for jars having other jars as dependencies. What Retrobuild does is:
-
Compiles sources
-
Expands 3rd party jars
-
Generates result jar from classes coming both from sources and external jars
Thus we have all the control for build and export process.
- Fully debugable
- 100% Java
- No IDE dependence
- Download/clone repository
- Go to RetroBuild.java, this will be our starting point
public static void main(String[] args) throws Exception {
RetroBuild.with(new ClassySharkBuildConfig()).build();
}
- Create your BuildConfig by implementing the methods below, and add to Retrobuild object from the previous step
public abstract String getSourcesFolder();
public abstract String getResultFolder();
public abstract String getThirdPartyJarsFolder();
public abstract String getMainClassInJar();
public abstract String getJarName();