Gradle 3.0 RC 1 - unknown property 'startParameter'


(Chris Hampton) #1

Swapped out Gradle 2.14.1 for 3.0 to do some compatibility testing and I get the following error in line 2 of my settings.gradle file:

Could not get unknown property 'startParameter' for object of type org.gradle.api.internal.initialization.DefaultScriptHandler.

Here’s the code snippet:

buildscript {
    def buildRepoName = startParameter.projectProperties.get("buildRepoName")
    def buildRepoUrl = startParameter.projectProperties.get("buildRepoUrl")
    def buildVersion = startParameter.projectProperties.get("buildVersion")

When I link to the RC source I see the Settings object along with startParameter is still there so now I’m a bit confused.

(Stefan Oehme) #2

Thank you for the report, we will fix this for RC 2.