Skip to content

Pin smithy-cli version to 1.26.1 #630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 7, 2022

Conversation

trivikr
Copy link
Contributor

@trivikr trivikr commented Nov 7, 2022

Issue #, if available:
Internal JS-3822

Description of changes:
Pin smithy-cli version to 1.26.1 to temporally handle issues with gradle dependencies.
Previous attempt in #629

Before
$ rm -rf ~/.gradle/*                 
zsh: sure you want to delete all 6 files in /home/trivikr/.gradle [yn]? y

$ ./gradlew clean publishToMavenLocal
...
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':smithy-typescript-codegen-test'.
> Could not resolve all artifacts for configuration ':smithy-typescript-codegen-test:classpath'.
   > Could not resolve software.amazon.smithy:smithy-cli:[1.26.0,1.27.0[.
     Required by:
         project :smithy-typescript-codegen-test
      > Failed to list versions for software.amazon.smithy:smithy-cli.
         > Unable to load Maven meta-data from https://plugins.gradle.org/m2/software/amazon/smithy/smithy-cli/maven-metadata.xml.
            > Could not get resource 'https://plugins.gradle.org/m2/software/amazon/smithy/smithy-cli/maven-metadata.xml'.
               > Could not GET 'https://jcenter.bintray.com/software/amazon/smithy/smithy-cli/maven-metadata.xml'.
                  > Read timed out
After
$ rm -rf ~/.gradle/*                 
zsh: sure you want to delete all 6 files in /home/trivikr/.gradle [yn]? y

$ ./gradlew clean publishToMavenLocal
...
BUILD SUCCESSFUL in 35s

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr trivikr marked this pull request as ready for review November 7, 2022 22:49
@trivikr trivikr requested a review from a team as a code owner November 7, 2022 22:49
@trivikr trivikr merged commit bd10452 into smithy-lang:main Nov 7, 2022
@trivikr trivikr deleted the pin-specific-version branch November 7, 2022 22:51
milesziemer pushed a commit to milesziemer/smithy-typescript that referenced this pull request Dec 14, 2022
srchase pushed a commit to srchase/smithy-typescript that referenced this pull request Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants