Commit a052145
authored
Improve build/test infrastructure to support IDEA 2022.2/2022.3 and Java 17 (#113)
* Use Java 11 for <2022.2 and Java 17 for >=2022.2
* Upgrade Gradle to 7.5.1 for Java 17 and fixup build script accordingly
* Upgrade `intellij-gradle-plugin` for IDEA >=2022.2
* Remove Kotlin (not actually used, but messes with classpath)
* Rearrange stuff around JUnit
* Fixup several build warnings
* Do not add tail text for lookups (it was never needed and something changed in 2022.3 that is causing addition of `()`)
* Adapt tests to use message from IntelliJ instead of manually crafted1 parent 127fdad commit a052145
File tree
10 files changed
+267
-200
lines changed- .github/workflows
- gradle/wrapper
- src
- main/java/org/mapstruct/intellij/util
- test/java/org/mapstruct/intellij
- inspection
- testutil
10 files changed
+267
-200
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | | - | |
| 18 | + | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
21 | | - | |
| 26 | + | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | | - | |
22 | 20 | | |
23 | | - | |
24 | | - | |
| 21 | + | |
| 22 | + | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
| |||
40 | 38 | | |
41 | 39 | | |
42 | 40 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 41 | | |
56 | 42 | | |
57 | 43 | | |
| |||
94 | 80 | | |
95 | 81 | | |
96 | 82 | | |
97 | | - | |
| 83 | + | |
98 | 84 | | |
99 | 85 | | |
100 | 86 | | |
101 | 87 | | |
102 | | - | |
103 | | - | |
| 88 | + | |
| 89 | + | |
104 | 90 | | |
105 | 91 | | |
106 | 92 | | |
107 | 93 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 94 | + | |
113 | 95 | | |
114 | | - | |
115 | | - | |
116 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
117 | 102 | | |
118 | 103 | | |
119 | 104 | | |
120 | | - | |
| 105 | + | |
121 | 106 | | |
122 | 107 | | |
123 | 108 | | |
124 | 109 | | |
125 | | - | |
| 110 | + | |
126 | 111 | | |
127 | 112 | | |
128 | 113 | | |
| |||
161 | 146 | | |
162 | 147 | | |
163 | 148 | | |
| 149 | + | |
| 150 | + | |
164 | 151 | | |
165 | 152 | | |
166 | 153 | | |
| |||
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
0 commit comments