Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove -c flag not supported in Gradle 9
  • Loading branch information
jiholee17 committed Apr 7, 2026
commit 3b9b600613417d27c1887e1bd6543595f2d4d364
6 changes: 3 additions & 3 deletions scripts/test-examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ def infer_build_file(project_dir):
return build_file


def run_example_build(settings_file, project_dir):
command = [gradlew, "-p", project_dir, "-c", settings_file, "clean", "check"]
def run_example_build(project_dir):
command = [gradlew, "-p", project_dir, "clean", "check"]
str_cmd = " ".join(command)
try:
Out.info(f"Running {str_cmd}")
Expand Down Expand Up @@ -172,7 +172,7 @@ def main(argv):
infer_build_file(project_root)
gradle_settings_file_path = f"{project_root}/settings.gradle.kts"
generate_gradle_settings(settings_gradle_kts_template, codegen_version, gradle_settings_file_path)
run_example_build(gradle_settings_file_path, project_root)
run_example_build(project_root)

if not keep_project_dir:
Out.info(f"Removing {projects_dir}...")
Expand Down
Loading