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
Post a Comment