java - How to define gradle "runtime" -


i using spring boot gradle. gradle pack application jar these tasks:

bootrepackage {     mainclass = 'tv.mukamuka.api.application' }  jar {     destinationdir = file(destpath)     basename = project.name } 

and dependencies below:

compile('com.eclipsesource.j2v8:j2v8_macosx_x86_64:3.1.6') runtime('com.eclipsesource.j2v8:j2v8_linux_x86_64:3.0.0') 

however, bootrepackage task doesn't build jar runtime dependencies. how can define "runtime" in build?


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -