Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
Style fixes
commit_hash:3a65d76039bb3c84b47e849c0ca9833d9b6d6e7a
  • Loading branch information
dimdim1177 committed Nov 19, 2024
1 parent dc93ac9 commit 37a9e61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 3 additions & 4 deletions build/export_generators/ide-gradle/build.gradle.kts.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -441,10 +441,9 @@ val runJav{{ loop.index }} = task<JavaExec>("runJavaProgram{{ loop.index }}") {
-#}
}

tasks.named("sourcesJar") {
dependsOn(runJav{{ loop.index }})
}
tasks.compileJava {
tasks.getByName("sourcesJar").dependsOn(runJav{{ loop.index }})

tasks.compileJava.configure {
dependsOn(runJav{{ loop.index }})
}
{% endfor -%}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,8 @@ afterEvaluate {
tasks.getByName("extractProto").dependsOn(prepareProto)
}
{# To avoid problems when build project with proto #}
tasks.named("sourcesJar").configure {
dependsOn("generateProto")
}
tasks.getByName("sourcesJar").dependsOn("generateProto")

{# To disable redundant javadoc (it may fail the build) #}
tasks.withType<Javadoc>().configureEach {
isEnabled = false
Expand Down

0 comments on commit 37a9e61

Please sign in to comment.