- 1 year ago
How to setup gobblin in windows ? What should be the version of gradle and gobblin?
Comment
1 / 1
Setting up Gobblin on Windows involves a few steps, including installing Java, setting up Gradle, and configuring Gobblin. Here's a general guide to help you get started:
Install Java Development Kit (JDK):
- Download and install the latest version of JDK from the Oracle website (https://www.oracle.com/java/technologies/javase-jdk14-downloads.html).
- Set the
JAVA_HOME
environment variable to the installation directory of the JDK. Add the JDK'sbin
directory to thePATH
environment variable.
Install Gradle:
- Download the latest version of Gradle from the official Gradle website (https://gradle.org/releases).
- Extract the Gradle distribution to a desired location on your system.
- Add the Gradle
bin
directory to thePATH
environment variable.
Clone Gobblin repository:
- Open a Command Prompt or Git Bash and navigate to the directory where you want to clone the Gobblin repository.
- Run the following command to clone the Gobblin repository:bash
git clone https://github.com/apache/gobblin.git
Configure Gobblin:
- In the cloned Gobblin repository, navigate to the
gobblin-dist
directory. - Open the
gradle.properties
file and make any necessary configuration changes according to your environment. For example, you can setorg.gradle.java.home
to your JDK installation directory.
- In the cloned Gobblin repository, navigate to the
Build Gobblin:
- Run the following command to build Gobblin using Gradle:
gradle clean build
- Run the following command to build Gobblin using Gradle:
Verify the build:
- Once the build is complete, you can verify the installation by running some Gobblin commands. For example, you can run the following command to view the available Gobblin tasks:
gradle tasks
- Once the build is complete, you can verify the installation by running some Gobblin commands. For example, you can run the following command to view the available Gobblin tasks:
Note: The specific versions of Gradle and Gobblin to use may depend on your project requirements and compatibility with other dependencies. It's generally recommended to use the latest stable versions of both Gradle and Gobblin, which can be found on their respective official websites.
By following these steps, you should be able to set up Gobblin on Windows, configure Gradle, and build Gobblin successfully.