[jira] [Commented] (OFBIZ-7910) Improve component template(s) to work with the Gradle solution

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-7910) Improve component template(s) to work with the Gradle solution

Nicolas Malin (Jira)

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

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

Hi Wai,

Any library you import is shared by all components under the new gradle build system. The problem in your modification in "Try1" is that the syntax is not right. Please take a look at the above code for proper importing of libs. If you import properly then your components would not complain. You just need to add $OFBIZ_HOME/lib to the compile set.

> 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)