Commit 2b9d87e
committed
fix: change auto-service scope from implementation to compileOnly
- Changed auto-service from 'implementation' to 'compileOnly' in redis-om-spring module
- Added test to verify annotation processor service registration via ServiceLoader
- auto-service is only needed during compilation to generate META-INF/services files
This prevents auto-service from being a transitive dependency at runtime,
reducing the dependency footprint as it's not needed after compilation.
Fixes #6511 parent f143221 commit 2b9d87e
File tree
2 files changed
+23
-1
lines changed- redis-om-spring
- tests/src/test/java/com/redis/om/spring/metamodel
2 files changed
+23
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
33 | 55 | | |
34 | 56 | | |
35 | 57 | | |
| |||
0 commit comments