File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
src/main/java/io/avaje/inject
inject-generator/src/main/java/io/avaje/inject/generator Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ module org.example {
8
8
9
9
requires io. avaje. inject;
10
10
11
- // register org.example._di $BeanContextFactory from generated sources
12
- provides io.avaje.inject.spi. BeanContextFactory with org. example. _di $BeanContextFactory ;
11
+ // register org.example._DI $BeanContextFactory from generated sources
12
+ provides io.avaje.inject.spi. BeanContextFactory with org. example. _DI $BeanContextFactory ;
13
13
}
14
14
```
15
15
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class SimpleFactoryWriter {
24
24
" * module example {\n " +
25
25
" * requires io.avaje.inject;\n " +
26
26
" * \n " +
27
- " * provides io.avaje.inject.spi.BeanContextFactory with %s._di $BeanContextFactory;\n " +
27
+ " * provides io.avaje.inject.spi.BeanContextFactory with %s._DI $BeanContextFactory;\n " +
28
28
" * \n " +
29
29
" * }\n " +
30
30
" * \n " +
@@ -60,7 +60,7 @@ class SimpleFactoryWriter {
60
60
String pkg = context .getContextPackage ();
61
61
this .factoryPackage = (pkg != null ) ? pkg : ordering .getTopPackage ();
62
62
context .deriveContextName (factoryPackage );
63
- this .factoryShortName = "_di $BeanContextFactory" ;
63
+ this .factoryShortName = "_DI $BeanContextFactory" ;
64
64
this .factoryFullName = factoryPackage + "." + factoryShortName ;
65
65
}
66
66
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ module org.example {
8
8
9
9
requires io. avaje. inject;
10
10
11
- // register org.example._di $BeanContextFactory from generated sources
12
- provides io.avaje.inject.spi. BeanContextFactory with org. example. _di $BeanContextFactory ;
11
+ // register org.example._DI $BeanContextFactory from generated sources
12
+ provides io.avaje.inject.spi. BeanContextFactory with org. example. _DI $BeanContextFactory ;
13
13
}
14
14
```
15
15
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ public BeanContext build() {
109
109
Set <String > moduleNames = factoryOrder .orderFactories ();
110
110
if (moduleNames .isEmpty ()) {
111
111
throw new IllegalStateException ("No modules found. When using java module system we need an explicit provides clause in module-info like:\n \n " +
112
- " provides io.avaje.inject.spi.BeanContextFactory with org.example._di $BeanContextFactory;\n \n " +
112
+ " provides io.avaje.inject.spi.BeanContextFactory with org.example._DI $BeanContextFactory;\n \n " +
113
113
" Otherwise perhaps using Gradle and IDEA but with a setup issue?" +
114
114
" Review IntelliJ Settings / Build / Build tools / Gradle - 'Build and run using' value and set that to 'Gradle'. " +
115
115
" Refer to https://avaje.io/inject#gradle" );
You can’t perform that action at this time.
0 commit comments