Hi,
I just pulled REL_2.14 tag and can’t build gradle with:
FAILURE: Build failed with an exception.
-
Where:
Build file ‘/home/dsvojanovsky/gitlab/ns-gradle/subprojects/internal-integ-testing/internal-integ-testing.gradle’ line: 42
-
What went wrong:
A problem occurred evaluating project ‘:internalIntegTesting’.
Cannot access first() element from an empty List
Stacktrace:
Caused by: java.util.NoSuchElementException: Cannot access first() element from an empty List
at org.gradle.build.ReleasedVersions.getMostRecentFinalRelease(ReleasedVersions.groovy:96)
at internal_integ_testing_2065iogk4jxlnagncvb9ry650$_run_closure2.doCall(/home/dsvojanovsky/gradle/subprojects/internal-integ-testing/internal-integ-testing.gradle:42)
at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:67)
at org.gradle.util.ConfigureUtil.configureSelf(ConfigureUtil.java:137)
at org.gradle.api.internal.AbstractTask.configure(AbstractTask.java:522)
at org.gradle.api.internal.project.AbstractProject.task(AbstractProject.java:943)
at org.gradle.internal.metaobject.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:374)
at org.gradle.internal.metaobject.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:169)
at org.gradle.internal.metaobject.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:96)
at org.gradle.internal.metaobject.MixInClosurePropertiesAsMethodsDynamicObject.invokeMethod(MixInClosurePropertiesAsMethodsDynamicObject.java:30)
at org.gradle.internal.metaobject.AbstractDynamicObject.invokeMethod(AbstractDynamicObject.java:163)
at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:79)
at internal_integ_testing_2065iogk4jxlnagncvb9ry650.run(/home/dsvojanovsky/gradle/subprojects/internal-integ-testing/internal-integ-testing.gradle:39)
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
… 58 more
Is the tag OK? last commit is this:
commit cba5fea19f1e0c6a00cc904828a6ec4e11739abc
Author: Sterling Greene sterling@gradle.com
Date: Fri Jun 10 09:55:16 2016 -0400
Add potentially breaking change for mixing `ext` and `propertyMissing`