You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2019/06/12 08:34:00 UTC

[jira] [Updated] (OFBIZ-11103) Gradle init task fails

     [ https://issues.apache.org/jira/browse/OFBIZ-11103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-11103:
------------------------------------
    Description: 
By curiosity I ran the init task after removing the build.gradle file (else you get 
bq. The build file 'build.gradle' already exists. Skipping build initialization.

Got this:

{noformat}
C:\projectsASF\ofbiz>g init
C:\projectsASF\ofbiz>gradlew init
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\projectsASF\ofbiz\plugins\birt\build.gradle' line: 21
* What went wrong:
A problem occurred evaluating project ':plugins:birt'.
> Could not find method pluginLibsCompile() for arguments [org.eclipse.birt.runtime:viewservlets:4.5.0, build_ai296cj6wufieldmkhonpm0u3$_run_closure1$_closure2@23181d75] on object of type org.gradle.api.internal.artifacts.dsl.dependencie
s.DefaultDependencyHandler.
{noformat}

I'm not sure when the init task is helpful, so just reporting here

Here is the related Gradle documentation: https://docs.gradle.org/current/userguide/init_scripts.html

  was:
By curiosity I ran the init task after removing the build.gradle file (else you get 
bq. The build file 'build.gradle' already exists. Skipping build initialization.

Got this:

{noformat}
C:\projectsASF\ofbiz>g init
C:\projectsASF\ofbiz>gradlew init
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\projectsASF\ofbiz\plugins\birt\build.gradle' line: 21
* What went wrong:
A problem occurred evaluating project ':plugins:birt'.
> Could not find method pluginLibsCompile() for arguments [org.eclipse.birt.runtime:viewservlets:4.5.0, build_ai296cj6wufieldmkhonpm0u3$_run_closure1$_closure2@23181d75] on object of type org.gradle.api.internal.artifacts.dsl.dependencie
s.DefaultDependencyHandler.
{noformat}

I'm not sure when the init task is helpful, so just reporting here


> Gradle init task fails
> ----------------------
>
>                 Key: OFBIZ-11103
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11103
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Priority: Minor
>
> By curiosity I ran the init task after removing the build.gradle file (else you get 
> bq. The build file 'build.gradle' already exists. Skipping build initialization.
> Got this:
> {noformat}
> C:\projectsASF\ofbiz>g init
> C:\projectsASF\ofbiz>gradlew init
> FAILURE: Build failed with an exception.
> * Where:
> Build file 'C:\projectsASF\ofbiz\plugins\birt\build.gradle' line: 21
> * What went wrong:
> A problem occurred evaluating project ':plugins:birt'.
> > Could not find method pluginLibsCompile() for arguments [org.eclipse.birt.runtime:viewservlets:4.5.0, build_ai296cj6wufieldmkhonpm0u3$_run_closure1$_closure2@23181d75] on object of type org.gradle.api.internal.artifacts.dsl.dependencie
> s.DefaultDependencyHandler.
> {noformat}
> I'm not sure when the init task is helpful, so just reporting here
> Here is the related Gradle documentation: https://docs.gradle.org/current/userguide/init_scripts.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)