[ 
https://issues.apache.org/jira/browse/OFBIZ-7910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419452#comment-15419452
 ] 

Wai commented on OFBIZ-7910:
----------------------------

In /ofbiz/build.gradle, I added Taher's suggestion in the 'dependencies' block

dependencies {
    ...
    compile fileTree(dir: file("${rootDir}/lib"), include: '**/*.jar')
    ...
}

Then I added the 3rd party in-house jar into /ofbiz/lib.
Ran $ gradle cleanAll build
Now my hot-deploy component compiles ok.




> Improve component template(s) to work with the Gradle solution
> --------------------------------------------------------------
>
>                 Key: OFBIZ-7910
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7910
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>            Reporter: Pierre Smits
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>         Attachments: OFBIZ-7910-Resources-build.gradle.patch
>
>
> Currently the component generated with the createComponent task doesn't have 
> the means to work with the Gradle build solution visavis dependency 
> management.
> The reason for this is that no build.gradle template exists that need to be 
> copied into the new component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to