Skip to content

capturing all source #314

Open
Open
@amiracam

Description

@amiracam

I have a directory structure as such

src
   -- entrypoint.rb
   -- db
          -- db_manager.rb

and of course I could have multiple directories under src as well other source files

I would like to capture all of my source not just the entrypoint.rb i.e. the initScript, ideally I would like to precompile my ruby such as one can with Warbler , I could not find any references in the docs.

I then tried using "include" within the jrubyJar spec which did not fail to build but failed to provide the desired results.

rubyJar {
/* We want to use this Ruby script as our start point when the jar executes
/
jrubyVersion '9.1.13.0'
include "${projectDir}/src/db/
"
initScript "${projectDir}/src/entrypoint.rb"

}

and variations of , all which failed

Please advise , thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions