Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-941

Enforce gradle version in build.gradle

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.7.0
    • None
    • None

    Description

      In build.gradle we should check gradle.gradleVersion to ensure that the user has the correct Gradle file.

      Currently if you run our build file with an older version of gralde you will get an unhelpful exception like so:

      FAILURE: Build failed with an exception.
      
      * Where:
      Build file '/private/tmp/apache-aurora-0.6.0-rc2-incubating/build.gradle' line: 443
      
      * What went wrong:
      A problem occurred evaluating root project 'apache-aurora-0.6.0-rc2-incubating'.
      > No such property: vcs for class: org.gradle.plugins.ide.idea.model.IdeaProject_Decorated
        Possible solutions: ipr
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      
      BUILD FAILED
      
      Total time: 44.633 secs
      

      Attachments

        Activity

          People

            zmanji Zameer Manji
            zmanji Zameer Manji
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: