Skip to content

Commit 4a08b91

Browse files
committed
fix: add additional deps to tasks during full runtime build
1 parent db376a4 commit 4a08b91

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test-app/app/build.gradle

+3
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,9 @@ task buildMetadata(type: BuildToolTask) {
10051005

10061006
task generateTypescriptDefinitions(type: BuildToolTask) {
10071007
if (!findProject(':dts-generator').is(null)) {
1008+
// TODO: find out why this is needed. Running these tasks solo works fine, but when running the whole build, it fails.
1009+
tasks.findByPath(":dts-generator:compileJava").dependsOn(buildMetadata)
1010+
tasks.findByPath(":dts-generator:processResources").dependsOn(buildMetadata)
10081011
dependsOn ':dts-generator:jar'
10091012
}
10101013

0 commit comments

Comments
 (0)