Skip to content

Commit

Permalink
rethink fat jar with compile dsl
Browse files Browse the repository at this point in the history
  • Loading branch information
BalbinoOrtus committed May 20, 2022
1 parent 7bceb0d commit 7670a6d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/cfml/system/util/CompileDSL.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,18 @@ component accessors=true {
}

function buildFatJar() {
/*
is a self-sufficient archive which contains both classes and
dependencies needed to run an application
to make a fat jar
we need:
- Main-Class attribute in the manifest file
- include dependency jars
- it contains classes from all the libraries, on which your project depends
and of course the classes of the current project
- it has to do the same as
configurations.compile.collect{ it.isDirectory() ? it : zipTree( it ) }
*/
j = "run fat jar ";
shell.printString( " " & j & " " );
//command( j ).run();
Expand Down

0 comments on commit 7670a6d

Please sign in to comment.