Skip to content

Commit

Permalink
[Java] Add missing dependency between tests and generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
vyazelenko committed Feb 13, 2020
1 parent 8a0751f commit 2539a73
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@ project(':agrona') {
def generatedDir = file("${buildDir}/generated-src")
sourceSets {
generated.java.srcDir generatedDir
test {
compileClasspath += generated.output
runtimeClasspath += generated.output
}
}

compileGeneratedJava {
Expand Down

0 comments on commit 2539a73

Please sign in to comment.