Skip to content

Commit 10aace8

Browse files
Trying some lombok configuarations
1 parent ad95885 commit 10aace8

File tree

4 files changed

+23
-1
lines changed

4 files changed

+23
-1
lines changed

.github/workflows/ci-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
run: ./scripts/run_no_prep_tests.sh test
3636
env:
3737
CI_ARGS: "--batch-mode"
38+
MAVEN_OPTS: "-Xmx4g -Xms512m"
3839
SKIP_UNSTABLE_TESTS: 1
3940
- name: Upload test results to Codecov
4041
if: ${{ !cancelled() }}
@@ -47,7 +48,7 @@ jobs:
4748
report_type: test_results
4849
token: ${{ secrets.CODECOV_TOKEN }}
4950
- name: Upload coverage to Codecov
50-
if: ${{ !cancelled() && hashFiles('**/target/site/jacoco/jacoco.xml') != '' }}
51+
if: ${{ !cancelled() && startsWith(matrix.java-version, '14') }}
5152
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
5253
with:
5354
files: "**/target/site/jacoco/jacoco.xml"

bolt-micronaut/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,11 @@
147147
<arg>-parameters</arg>
148148
</compilerArgs>
149149
<annotationProcessorPaths>
150+
<path>
151+
<groupId>org.projectlombok</groupId>
152+
<artifactId>lombok</artifactId>
153+
<version>${lombok.version}</version>
154+
</path>
150155
<path>
151156
<groupId>io.micronaut</groupId>
152157
<artifactId>micronaut-inject-java</artifactId>
@@ -165,6 +170,11 @@
165170
<arg>-parameters</arg>
166171
</compilerArgs>
167172
<annotationProcessorPaths>
173+
<path>
174+
<groupId>org.projectlombok</groupId>
175+
<artifactId>lombok</artifactId>
176+
<version>${lombok.version}</version>
177+
</path>
168178
<path>
169179
<groupId>io.micronaut</groupId>
170180
<artifactId>micronaut-inject-java</artifactId>

lombok.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
config.stopBubbling = true
12
lombok.addLombokGeneratedAnnotation = true

pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,16 @@
204204
<configuration>
205205
<encoding>UTF-8</encoding>
206206
<fork>true</fork>
207+
<meminitial>256m</meminitial>
208+
<maxmem>1024m</maxmem>
209+
<useIncrementalCompilation>false</useIncrementalCompilation>
210+
<annotationProcessorPaths>
211+
<path>
212+
<groupId>org.projectlombok</groupId>
213+
<artifactId>lombok</artifactId>
214+
<version>${lombok.version}</version>
215+
</path>
216+
</annotationProcessorPaths>
207217
</configuration>
208218
</plugin>
209219
<plugin>

0 commit comments

Comments
 (0)