Bootstrapping
The library is available on Maven Central. Add the following to your Gradle build script to use it.
build.gradle
repositories {
mavenCentral()
}
Then you also need to either add the dependencies to your .build.gradle
or gradle/libs.versions.toml
files.
build.gradle
dependencies {
api 'org.ysb33r.gradle:grolifant5-core:5.0.0'
implementation 'org.ysb33r.gradle:grolifant5-rawhide:5.0.0' (1)
runtimeOnly 'org.ysb33r.gradle:grolifant5-herd:5.0.0'
}
1 | Only needed if you want to access the worker API directly from your plugin. |
OR if you are using the version catalog
gradle/libs.versions.toml
[versions]
grolifant = "5.0.0"
[libraries]
grolifantApi = { module = "org.ysb33r.gradle:grolifant5-api", version.ref = "grolifant" }
grolifantRuntime = { module = "org.ysb33r.gradle:grolifant5-herd", version.ref = "grolifant" }
grolifantRawhide = { module = "org.ysb33r.gradle:grolifant5-rawhide", version.ref = "grolifant" } (1)
1 | Only needed if you want to access the worker API directly from your plugin. |