Replace JUnit with kotlin-test (#185)
replace junit dependency to kotlin-test, and remove junit dependency from build.gradle.kts
replace kotlin(“test”) with version catalog
Co-authored-by: luigi liu luigiliu@amazon.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
AWS Kotlin Repository Tools
This repository contains shared tooling for AWS Kotlin repositories:
awslabs/aws-sdk-kotlinsmithy-lang/smithy-kotlinawslabs/aws-crt-kotlinIt contains shared custom Gradle plugins and build logic used to build and release those repositories.
Release
The plugins in this repository are not generally applicable and as such are not published to the Gradle plugin portal. Instead, they are published to an S3 bucket hosted by the SDK team and fronted by a CloudFront distribution to create a “private” maven repository that hosts the released versions of these plugins/artifacts.
The release logic is entirely contained in
scripts/release.sh. By default, it will use the latest git tag for the version that is being released.To cut a new release:
The workflow will create a tag, push it to this repo and then start a CodeBuild release job hosted in the shared tools account (e.g.
publish-aws-kotlin-repo-tools).Old manual release instructions
git tag x.y.z.git push origin x.y.z.publish-aws-kotlin-repo-tools).Sourceconnect your GitHub account (UnderSource->Connection Statusyou should see “You are connected to GitHub”).Source Version.Development
Local development
To use a local version of the plugin in downstream projects (such as
smithy-kotlinoraws-sdk-kotlin):./gradlew -Prelease.version=<YOUR_SNAPSHOT_VERSION> publishToMavenLocalProject Structure
:build-plugins:build-support- common build support (publishing, linting, utils, etc):build-plugins:kmp-conventions- Plugin that applies common conventions for KMP projects (source sets, targets, etc):build-plugins:smithy-build- Opinionated plugin that wraps thesmithy-baseplugin with a DSL for generating projections dynamically:ktlint-rules- Custom ktlint rules (consumed bybuild-supportat runtime)Security
See CONTRIBUTING for more information.
License
This project is licensed under the Apache-2.0 License.