Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ testfixtures_shared/
# Generated
checkstyle_ide.xml
x-pack/plugin/esql/gen/
/x-pack/plugin/esql/compute/src/main/generated
/x-pack/plugin/esql/src/main/java/generated
5 changes: 5 additions & 0 deletions docs/changelog/107658.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 105660
summary: "Ignore generated code in git"
area: Delivery/Build
type: enhancement
issues: []
2 changes: 1 addition & 1 deletion x-pack/plugin/esql/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dependencies {
* them and *then* compile them.
*/
tasks.named("compileJava").configure {
options.compilerArgs.addAll(["-s", "${projectDir}/src/main/java/generated"])
options.generatedSourceOutputDirectory = file("src/main/java/generated")
}

tasks.named("javadoc").configure {
Expand Down
3 changes: 2 additions & 1 deletion x-pack/plugin/esql/compute/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ dependencies {
testImplementation(project(xpackModule('ql')))
}


tasks.named("compileJava").configure {
options.compilerArgs.addAll(["-s", "${projectDir}/src/main/generated"])
options.generatedSourceOutputDirectory = file("src/main/generated")
}

tasks.named('checkstyleMain').configure {
Expand Down

This file was deleted.

This file was deleted.

Loading