https://github.com/embulk/gradle-embulk-runset
A Gradle plugin to set up an environment for running Embulk
https://github.com/embulk/gradle-embulk-runset
embulk gradle-plugin
Last synced: 3 months ago
JSON representation
A Gradle plugin to set up an environment for running Embulk
- Host: GitHub
- URL: https://github.com/embulk/gradle-embulk-runset
- Owner: embulk
- License: apache-2.0
- Created: 2019-08-01T08:34:03.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-01-31T04:50:16.000Z (4 months ago)
- Last Synced: 2025-01-31T05:25:48.543Z (4 months ago)
- Topics: embulk, gradle-plugin
- Language: Java
- Homepage: https://plugins.gradle.org/plugin/org.embulk.runset
- Size: 256 KB
- Stars: 0
- Watchers: 15
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
Gradle plugin to set up an environment for running Embulk
==========================================================It'd be an alternative of `embulk mkbundle` so that users could maintain their Maven-based Embulk plugin installations.
Note that everything (including syntax, behavior, and else) can change drastically in later versions. This is yet work-in-progress.
Usage
------Set up Gradle 8.7 or later, and make `build.gradle` like below.
```
plugins {
id "org.embulk.runset" version "0.2.0" // Just apply this Gradle plugin.
}repositories {
mavenCentral()
}installEmbulkRunSet {
// Set your Embulk home directory (absolute path) to install the Embulk plugins and "embulk.properties".
embulkHome file("/path/to/your-embulk-home")artifact "org.embulk:embulk-input-postgresql:0.13.2"
artifact group: "org.embulk", name: "embulk-input-s3", version: "0.6.0"// It downloads jruby-complete-9.1.15.0.jar, and set the "jruby" Embulk System Property in "embulk.properties".
jruby "org.jruby:jruby-complete:9.1.15.0"// It sets the "key" Embulk System Property to "value" in "embulk.properties".
embulkSystemProperty "key", "value"
}
```Run `./gradlew installEmbulkRunSet`, then the plugins and "embulk.properties" are set up in the `embulkHome` directory.