- For an easy applying of the plugin's jar, this plugin shouldn't contain dependencies.
- If the existing tests do not already cover your changes, please add tests.
- Pull requests should be created on the main branch.
Clone the sources and CD to the root directory of the project:
git clone https://github.com/jfrog/gradle-dep-tree.git
cd gradle-dep-tree
Build the sources as follows:
On Unix based systems run:
./gradlew clean build
On Windows run:
gradlew.bat clean build
Once completed, you'll find the gradle-dep-tree-.jar at the build/libs/ directory.
To run the tests, run the following command:
On Unix based systems run:
./gradlew clean check
On Windows run:
gradlew.bat clean check
To debug the gradle-dep-tree process, follow these steps:
- Create a new debug configuration in your IDE. If you are using IntelliJ IDEA Choose "Remote JVM Debug" and ensure the following fields are correctly configured:
- Debugger Mode: Attach to remote JVM
- Host: localhost
- Post: 5005
- Use module classpath:
- Run the Gradle command with following flags:
-Dorg.gradle.debug=true --no-daemon
- After executing the command with the flags, the process will pause. At this juncture, you can set a breakpoint and initiate the debug configuration in "Debug" mode.