We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Building the smithy protocol tests with a standalone smithy-build.json creates Kotlin files that cannot be compiled.
smithy-build.json
The project should compile without unresolved references
The project fails to build with Unresolved reference 'decodeBase64'
Unresolved reference 'decodeBase64'
smithy-kotlin
./gradle clean build pTML
{ "version": "1.0", "outputDirectory": "build/output", "maven": { "repositories": [ { "url": "file:///${HOME}/.m2/repository" }, { "url": "https://repo.maven.apache.org/maven2" } ], "dependencies": [ "software.amazon.smithy:smithy-aws-traits:1.57.1", "software.amazon.smithy:smithy-aws-protocol-tests:1.57.1", "software.amazon.smithy:smithy-protocol-tests:1.57.1", "software.amazon.smithy.kotlin:smithy-kotlin-codegen:0.34.17-SNAPSHOT", "software.amazon.smithy.kotlin:smithy-aws-kotlin-codegen:0.34.17-SNAPSHOT" ] }, "plugins": { "kotlin-codegen": { "service": "aws.protocoltests.restjson#RestJson", "package": { "name": "com.amazon.aws.sdk", "version": "2018-01-01" }, "build": { "generateFullProject": true, "optInAnnotations": ["aws.smithy.kotlin.runtime.InternalApi"], "rootProject": true } } } }
smithy build
cd build/output/source/kotlin-codegen/; gradle clean build
See #1281
No response
latest
any
linux
The text was updated successfully, but these errors were encountered:
Resolved by #1281
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Building the smithy protocol tests with a standalone
smithy-build.json
creates Kotlin files that cannot be compiled.Regression Issue
Expected behavior
The project should compile without unresolved references
Current behavior
The project fails to build with
Unresolved reference 'decodeBase64'
Steps to Reproduce
smithy-kotlin
, build it and publish to maven local (./gradle clean build pTML
)smithy-build.json
files withsmithy build
cd build/output/source/kotlin-codegen/; gradle clean build
Possible Solution
See #1281
Context
No response
Smithy-Kotlin version
latest
Platform (JVM/JS/Native)
any
Operating system and version
linux
The text was updated successfully, but these errors were encountered: