jfrog / artifactory-gradle-plugin

JFrog Gradle plugin for Build Info extraction and Artifactory publishing.
Apache License 2.0
21 stars 15 forks source link

Enforce Gradle min version in the init script #60

Closed yahavi closed 1 year ago

yahavi commented 1 year ago

Trying to execute the plugin in CI mode using Gradle versions prior to 6 leads to an unhelpful error message as follows:

A problem occurred evaluating initialization script. Could not find method beforeSettings() for arguments [init_artifactory94626938881760_15juxlr5otc52jxj9zoifqecd$_run_closure1@4b2a19be] on build of type org.gradle.invocation.DefaultGradle.

Following the implementation of this solution:

A problem occurred evaluating initialization script. Can't apply Artifactory Plugin on Gradle version 5.6.3. Minimum supported Gradle version is 6.8.1