A Dependency Injection experimental library made with love to learn.
Dependency injection has been always to me a magical feature. As far as I get more used with we application and apis, this feature has become a must.
The more I use it the more I like until I decided to drop application frameworks (like Spring, Micronaut, etc) and I started using minimal frameworks or plain java, then I became aware that this feature was bounded to them with no easy alternative, so I decided to create a one with the minimal features that I need.
Add dependency to your Gradle build.gradle or Maven pom.xml
dependencies {
implementation 'info.developia.gti:gti:1.0-SNAPSHOT'
}
Add Gti.startOn()
with the main application class. This will return the instance of the class, and you can run your method to start application.
var application = Gti.inject().startOn(Application.class);
application.run();
You can find an example of application that has a Launcher ] that orchestrates application execution.