Yet Another Dependency Injection Container
Simple dependency injection container in Java
versions used by the author are in italics
- Operating system
Debian testing - Java
APT packageopenjdk-17-jdk
, version 17 SE - Gradle or Apache ANT
SDK-Mangradle
, version 8.10
APT packageant
, version 1.10.+
dependencies are automatically downloaded during build process
- JUnit 5.+
- AssertJ 3.+
YADIC can be built with Gradle. All dependencies are downloaded during build, so make sure your Internet connection is working!
Possible Gradle tasks are:
gradle build
- resolve dependencies & compile source files & create jar & run all testsgradle jar
- resolve dependencies & compile source files & create jargradle test
- run all testsgradle javadoc
- generate Javadocgradle rebuild
- remove additional build files & resolve dependencies & compile source files & create jar & run all tests
YADIC can be built with Apache ANT using Apache Ivy to resolve all dependencies. Ivy itself and all dependencies are downloaded during build, so make sure your Internet connection is working!
Possible ANT targets are:
ant
,ant build
- resolve dependencies & compile source files & create jar & run all testsant resolve
- resolve dependenciesant jar
- compile source files & create jarant test
- run all testsant docs
- generate Javadocant clean
- remove additional build filesant rebuild
- remove additional build files & resolve dependencies & compile source files & create jar & run all tests
Simply add the jar file to your classpath from the directory:
build/libs
for Gradle buildsantBuild/dist
for ANT builds