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

Taher Alkhateeb commented on OFBIZ-7910:
----------------------------------------

I'm not sure if I got it right, but by default gradle will look in every 
component for a /lib directory and add any of those jars to the classpath. 
Specifically, this piece of code already does the job automatically as long as 
you put those jars in /lib

{code}
getDirectoryInActiveComponentsIfExists('lib').each { libDir ->
    compile fileTree(dir: libDir, include: '**/*.jar')
}
{code}

> 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