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

Add examples for specifying Open Liberty drivers #808

Merged
merged 1 commit into from
Apr 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,25 @@ The Liberty Gradle Plugin must first be configured with the Liberty server insta
* An [existing installation directory](docs/libertyExtensions.md#general-runtime-properties) - reference the `installDir` property
* A Liberty server from a [Liberty repository or other location](docs/installLiberty.md#install-block)

Installing from a Maven artifact is the default installation method. The default runtime artifact is the latest version of `io.openliberty:openliberty-kernel`. In order to configure WebSphere Liberty for installation, specify the `libertyRuntime` with the `com.ibm.websphere.appserver.runtime` group and the specific `name` and `version` that is needed. For a full list of artifacts available, see the [installLiberty task](docs/installLiberty.md#using-maven-artifact) documentation.
Installing from a Maven artifact is the default installation method. The default runtime artifact is the latest version of `io.openliberty:openliberty-kernel`.

Example using `libertyRuntime` property to install an Open Liberty beta runtime:

```groovy
dependencies {
libertyRuntime group: 'io.openliberty.beta', name: 'openliberty-runtime', version: '23.0.0.2-beta'
}
```

Example using `libertyRuntime` property to install a specific Open Liberty runtime version:

```groovy
dependencies {
libertyRuntime group: 'io.openliberty', name: 'openliberty-kernel', version: '23.0.0.2'
}
```

In order to configure WebSphere Liberty for installation, specify the `libertyRuntime` with the `com.ibm.websphere.appserver.runtime` group and the specific `name` and `version` that is needed. For a full list of artifacts available, see the [installLiberty task](docs/installLiberty.md#using-maven-artifact) documentation.

Example using the `libertyRuntime` property to install a WebSphere Liberty runtime from a Maven artifact:

Expand Down