Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finalize dependency specification DSL #67

Open
mkobit opened this issue Jun 4, 2018 · 0 comments
Open

Finalize dependency specification DSL #67

mkobit opened this issue Jun 4, 2018 · 0 comments

Comments

@mkobit
Copy link
Owner

mkobit commented Jun 4, 2018

As of 0.7.x line, a few dependencies are specified with named fields on the extension:

sharedLibrary {
  coreVersion = "2.86"
  testHarnessVersion = "2.24"
}

There are also a few named dependencies in the inner dependencies declaration for plugins:

sharedLibrary {
  pluginDependencies {
    workflowCpsGlobalLibraryPluginVersion = "2.8"
  }
}

additional dependencies are added with the coordinates to the extension itself, which is similar to Gradle's dependency notation:

sharedLibrary {
  pluginDependencies {
    dependency("io.jenkins.blueocean", "blueocean-web", "1.2.4")
  }
}

These different methods can be confusing and should be aligned and fully documented for 1.0.0 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant