[
https://issues.apache.org/jira/browse/AURORA-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14220033#comment-14220033
]
Kevin Sweeney commented on AURORA-941:
--------------------------------------
Is there any way we can do this in settings.gradle (or before the buildSrc
project is compiled, possibly in buildSrc/build.gradle?)
> Enforce gradle version in build.gradle
> --------------------------------------
>
> Key: AURORA-941
> URL: https://issues.apache.org/jira/browse/AURORA-941
> Project: Aurora
> Issue Type: Task
> Reporter: Zameer Manji
> Priority: Minor
>
> 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:
> {noformat}
> 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
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)