Skip to content

Commit

Permalink
Downloading Specmatic from Maven instead of Github releases
Browse files Browse the repository at this point in the history
  • Loading branch information
harikrishnan83 authored Mar 8, 2024
1 parent cf5bf28 commit bd21545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specmatic/build_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


def download_specmatic_jar(version):
file_url = f'https://github.com/znsio/specmatic/releases/download/{version}/specmatic.jar'
file_url = f'https://repo1.maven.org/maven2/in/specmatic/specmatic-executable/{version}/specmatic-executable-{version}-all.jar'
file_path = get_project_root() + '/specmatic/core/specmatic.jar'
print(f"Downloading specmatic jar from: {file_url}")
urllib.request.urlretrieve(file_url, file_path)
Expand Down

0 comments on commit bd21545

Please sign in to comment.