Gradle based repository to practice data-structures and algorithms in Java
language.
Setup
- Java
24
managed by sdkman - Gradle
8.14.3
with gradle wrapper - Compatibility Matrix
Structured in 3 Modules
common
: common definitions for nodesdata-structures
: data structures using nodes defined in commonalgorithms
: algorithms using nodes defined in common
# install and use java version defined in .sdkmanrc
sdk env
sdk current
# list projects
./gradlew projects -q
run main classes to check
./gradlew run
./gradlew :data-structures:run
./gradlew :algorithms:run
./gradlew :common:dependencies
buildSrc
has the plugins where we have defined common dependencies like lombok.
# we can also pass the variable as parameter
./gradlew clean build -PlombokVersion=1.18.30