I checked it and realized that I had a different idea. I wanted to create something like this:
```groovy
policies {
     WeblogicDeploymentPolicies.SCM_CHANGE
     WeblogicDeploymentPolicies.USER
}
```

But then I realized, that this does not work, so now you have to do it like this:
```groovy
deploymentPolicies {
    policy WeblogicDeploymentPolicies.SCM_CHANGE
    policy WeblogicDeploymentPolicies.USER
}
```

So the method policy should take only one argument.