ref-humbold / DI-Container

Simple dependency injection container in Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DI-Container

GitHub Actions CircleCI

Release License

Simple dependency injection container in Java


System requirements

versions used by the author are in italics

  • Operating system
    Debian testing
  • Java
    APT package openjdk-17-jdk, version 17 SE
  • Apache ANT
    APT package ant, version 1.10.+

Dependencies

dependencies are automatically downloaded during build process

  • JUnit 5.+
  • AssertJ 3.+

How to build with ANT?

DI_Container 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 tests
  • ant resolve - resolve dependencies
  • ant jar - compile source files & create jar
  • ant test - run all tests
  • ant docs - generate Javadoc
  • ant clean - remove additional build files
  • ant rebuild - remove additional build files & resolve dependencies & compile source files & create jar & run all tests

How to build with Gradle?

DI_Container 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 tests
  • gradle jar - resolve dependencies & compile source files & create jar
  • gradle test - run all tests
  • gradle javadoc - generate Javadoc
  • gradle rebuild - remove additional build files & resolve dependencies & compile source files & create jar & run all tests

How to include it?

Simply add the jar file to your classpath from the directory:

  • antBuild/dist for ANT builds
  • build/libs for Gradle builds

About

Simple dependency injection container in Java

License:Apache License 2.0


Languages

Language:Java 99.6%Language:Shell 0.4%