Menu

help gradle build error

Anonymous
2011-12-03
2012-09-09
  • Anonymous

    Anonymous - 2011-12-03

    Hi David!

    I downloaded moqu from git hub .

    gradle build on windows is error.

    Project Directory Structure:

    2011-12-03 22:10 <DIR> .

    2011-12-03 22:10 <DIR> ..

    2011-12-03 22:10 208 .gitignore

    2011-12-03 22:13 4,305 build.gradle

    2011-12-03 22:10 3,301 build.xml

    2011-12-03 22:10 <DIR> framework

    2011-12-03 22:10 1,085 MoquiInit.properties

    2011-12-03 22:10 214 README

    2011-12-03 22:10 31,874 ReleaseNotes.txt

    2011-12-03 22:10 <DIR> runtime

    2011-12-03 22:10 21 settings.gradle

    D:\workspace\moqui\moqui>gradle build

    FAILURE: Build failed with an exception.

    • Where:
      Build file 'D:\workspace\moqui\moqui\framework\build.gradle' line: 55

    • What went wrong:
      A problem occurred evaluating project ':framework'.

    Cause: Could not find method apiCompile() for arguments on project
    ':framework'.

    • Try:
      Run with -s or -d option to get more details. Run with -S option to get the
      full

    (very verbose) stacktrace.

    BUILD FAILED

     
  • David E. Jones

    David E. Jones - 2011-12-03

    Which version of Gradle are you using? Unfortunately Gradle has had some non-
    backwards-compatible changes in recent versions.

    Right now the trunk (and version 1.0.1) require "Gradle 1.0-milestone-6" (use
    gradle --version to see which one you have).

    The 1.0.0 release (ie if you download the src file) requires "Gradle
    1.0-milestone-3".

     
  • Anonymous

    Anonymous - 2011-12-04

    Thanks jonesde

    gradle update to "Gradle 1.0-milestone-6" build success

     

Log in to post a comment.