https://github.com/jbock-java/injectable-factory
https://github.com/jbock-java/injectable-factory
java jpms
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jbock-java/injectable-factory
- Owner: jbock-java
- Created: 2021-10-18T05:02:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-18T09:12:04.000Z (over 4 years ago)
- Last Synced: 2025-01-09T11:51:54.641Z (about 1 year ago)
- Topics: java, jpms
- Language: Java
- Size: 121 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
Awesome Lists containing this project
README
[](https://maven-badges.herokuapp.com/maven-central/io.github.jbock-java/injectable-factory-compiler)
[](https://maven-badges.herokuapp.com/maven-central/io.github.jbock-java/injectable-factory)
This is a clone of [auto-factory](https://github.com/google/auto/tree/master/factory) that has a module descriptor
and generates `jakarta.inject.*` annotations instead of `javax.inject.*`.
Add to `module-info.java`:
````
requires com.google.auto.factory;
````
Gradle users add this to `build.gradle`:
````groovy
implementation('io.github.jbock-java:injectable-factory:1.0')
annotationProcessor('io.github.jbock-java:injectable-factory-compiler:1.0')
````