Skip to content

Commit

Permalink
build: set source dir relative to the module path (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt authored Dec 13, 2023
1 parent 3325509 commit ebaae61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/edc-build/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ gradlePlugin {
sourceSets {
main {
java {
srcDir(rootDir.resolve("buildSrc").resolve("build").resolve("generated").resolve("sources"))
val rootProjectDir = projectDir.resolve("..").resolve("..")
srcDir(rootProjectDir.resolve("buildSrc").resolve("build").resolve("generated").resolve("sources"))
}
}
}

0 comments on commit ebaae61

Please sign in to comment.