Skip to content

Commit faf0c0b

Browse files
radovanradicsdelamodstepanov
authored
Failing to compile repository for entity with @lombok annotations (#3345)
* Update ItemRepositorySpec.java * Use core 4.8.6 * Update doc-examples/jdbc-example-java/src/test/java/example/ItemRepositorySpec.java * Add lombok first * Bump core --------- Co-authored-by: Sergio del Amo <[email protected]> Co-authored-by: Denis Stepanov <[email protected]>
1 parent dab1638 commit faf0c0b

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
plugins {
2+
id "java"
3+
}
4+
5+
dependencies {
6+
annotationProcessor libs.lombok
7+
}

doc-examples/jdbc-example-java/build.gradle

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
plugins {
2+
id "io.micronaut.build.internal.data-add-lombok-first"
23
id "io.micronaut.build.internal.data-native-example"
34
}
45

@@ -13,7 +14,6 @@ micronaut {
1314
}
1415

1516
dependencies {
16-
annotationProcessor libs.lombok
1717
annotationProcessor projects.micronautDataProcessor
1818
annotationProcessor mnSql.hibernate.jpamodelgen
1919
annotationProcessor mnValidation.micronaut.validation
@@ -36,3 +36,7 @@ sourceSets {
3636
}
3737
}
3838
}
39+
40+
//compileJava.options.fork = true
41+
//compileJava.options.forkOptions.jvmArgs = ['-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005']
42+

gradle/libs.versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
micronaut = "4.8.5"
2+
micronaut = "4.8.7"
33
micronaut-platform = "4.7.6"
44
micronaut-docs = "2.0.0"
55
micronaut-gradle-plugin = "4.4.5"

0 commit comments

Comments
 (0)