File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
examples/SampleApp/android Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,14 @@ subprojects { subproject ->
3434 if (subproject. path != " :app" ) {
3535 evaluationDependsOn(" :app" )
3636 }
37+
38+ subproject. tasks. matching { it. name == " generateCodegenArtifactsFromSchema" }. configureEach { codegenTask ->
39+ project(" :app" ). tasks. matching { task ->
40+ task. name. startsWith(" configureCMake" )
41+ }. configureEach {
42+ dependsOn(codegenTask)
43+ }
44+ }
3745}
3846
3947allprojects {
@@ -49,7 +57,7 @@ allprojects {
4957}
5058
5159project(' :app' ) {
52- tasks. matching { it. name == " preBuild" }. configureEach {
60+ tasks. matching { it. name == " preBuild" || it . name . startsWith( " configureCMake " ) }. configureEach {
5361 dependsOn(" generateCodegenArtifactsFromSchema" )
5462 }
5563}
You can’t perform that action at this time.
0 commit comments