uranusjr commented on code in PR #69628:
URL: https://github.com/apache/airflow/pull/69628#discussion_r3548653031
##########
java-sdk/sdk/build.gradle.kts:
##########
@@ -261,8 +258,8 @@ jsonSchema2Pojo {
sourceSets {
main {
-
java.srcDir(layout.buildDirectory.dir("generate-resources/main/src/main/java"))
- kotlin.srcDir(discriminatorDir)
+ java.srcDir(tasks.named("generateJsonSchema2Pojo").map {
schemaModelsDir })
+ kotlin.srcDir(tasks.named("generateDiscriminator").map {
discriminatorDir })
Review Comment:
It looks like flatMap breaks dependency for `generateJsonSchema2Pojo`. I’m
not going to say I fully understand what’s going on, but sticking with what
works seems to be a good idea.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]