Skip to content

shineit/RetroBuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RetroBuild

Retro style of a full build & export system for jars having other jars as dependencies. What Retrobuild does is:

  1. Compiles sources

  2. Expands 3rd party jars

  3. 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 depedendance

How to run

  1. Download/clone repository
  2. Go to RetroBuild.java, this will be our starting point
  public static void main(String[] args) throws Exception {
        RetroBuild.with(new ClassySharkBuildConfig()).build();
    }
  1. Create your BuildConfig by implementing the methods below, and add to Retrobuild objetc from the previous step
    public abstract String getSourcesFolder();

    public abstract String getResultFolder();

    public abstract String getThirdPartyJarsFolder();

    public abstract String getMainClassInJar();

    public abstract String getJarName();

Limitations

I use Retrobuild to buid app jars. It is possible to build library jar, that work from the classpath and the command line, but IDE can't parse them. Some investigation + work needed around the jar writing.

About

IDE independent jar build system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages