Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/makiftutuncu/dependency-finder
Interactive console application for reading dependencies from a file and finding transitive dependencies
https://github.com/makiftutuncu/dependency-finder
dependency dependency-graph gradle junit5 kotlin
Last synced: about 1 month ago
JSON representation
Interactive console application for reading dependencies from a file and finding transitive dependencies
- Host: GitHub
- URL: https://github.com/makiftutuncu/dependency-finder
- Owner: makiftutuncu
- License: mit
- Created: 2021-09-09T16:54:21.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T11:33:57.000Z (about 1 year ago)
- Last Synced: 2024-10-31T20:13:03.454Z (3 months ago)
- Topics: dependency, dependency-graph, gradle, junit5, kotlin
- Language: Kotlin
- Homepage:
- Size: 75.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Dependency Finder
## Table of Contents
1. [Introduction](#introduction)
2. [Development, Running and Testing](#development-running-and-testing)
3. [Contributing](#contributing)
4. [License](#license)## Introduction
Dependency Finder is an interactive console application for reading a file with dependency declarations and finding transitive dependencies.
Dependency definitions file should be in following format:
```
A B C
B C E
C G
D A F
E F
F H
```Each line represents a dependency definition. For example:
* `A` is a dependency and it depends on `B` and `C`
* `B` is a dependency and it depends on `C` and `E`and so on. Based on dependency definitions above, transitive dependencies of `A` would be `B`, `C`, `E`, `F`, `G` and `H`.
## Development, Running and Testing
Application is built with Gradle. So, standard Gradle tasks like `clean`, `compile`, `run` and `test` can be used. If you don't have Gradle installed, you can use Gradle wrapper by replacing `gradle` command with `./gradlew` in project root directory.
To run the application locally:
```bash
gradle run --console=plain --args '/path/to/dependencies.txt'
```To run all tests:
```bash
gradle test
```To run specific test(s):
```bash
gradle test --tests 'patternForTests'
```## Contributing
All contributions are welcome. Please feel free to send a pull request. Thank you.
## License
Dependency Finder is licensed with [MIT License](LICENSE.md).