aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Farner (JIRA)" <>
Subject [jira] [Created] (AURORA-1064) Gradle version check is too strict
Date Tue, 27 Jan 2015 19:08:34 GMT
Bill Farner created AURORA-1064:

             Summary: Gradle version check is too strict
                 Key: AURORA-1064
             Project: Aurora
          Issue Type: Bug
          Components: Build
            Reporter: Bill Farner

Our gradle version check requires exactly 2.2:
$ cat buildSrc/ 

This means it will not allow you to build with 2.2.1:
$ gradle --version

Gradle 2.2.1

Build time:   2014-11-24 09:45:35 UTC
Build number: none
Revision:     6fcb59c06f43a4e6b1bcb401f7686a8601a1fb4a

Groovy:       2.3.6
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.7.0_65 (Oracle Corporation 24.65-b04)
OS:           Linux 3.13.0-40-generic amd64

wfarner@bill-desktop:~/Downloads/apache-aurora-0.7.0-rc1-incubating$ gradle wrapper

FAILURE: Build failed with an exception.

* Where:
Build file '/home/wfarner/Downloads/apache-aurora-0.7.0-rc1-incubating/buildSrc/build.gradle'
line: 2

* What went wrong:
A problem occurred evaluating root project 'buildSrc'.
> Building is only supported with gradle version: 2.2 .

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to
get more log output.


Total time: 1.51 secs

The cause is this:
$ cat buildSrc/build.gradle 
if (gradle.gradleVersion != GRADLE_VERSION) {
  throw new GradleException("Building is only supported with gradle version: $GRADLE_VERSION

This message was sent by Atlassian JIRA

View raw message