Owner:
Tech
Easily use private AWS CodeArtifact repositories from Gradle - for dependencies, plugins and publishing. Just apply the plugin: it detects the CodeArtifact repositories declared in your build, including those in pluginManagement and dependencyResolutionManagement, and injects the authorization token for you, with no extra configuration. Authenticates through an AWS profile, the static access keys of a service account, SSO, or the default AWS credential chain.
https://github.com/clarityai-eng/codeartifact-gradle-plugin
Sources: https://github.com/clarityai-eng/codeartifact-gradle-plugin
Version 0.2.1
Created 01 September 2026.
Easily use private AWS CodeArtifact repositories from Gradle - for dependencies, plugins and publishing. Just apply the plugin: it detects the CodeArtifact repositories declared in your build, including those in pluginManagement and dependencyResolutionManagement, and injects the authorization token for you, with no extra configuration. Authenticates through an AWS profile, the static access keys of a service account, SSO, or the default AWS credential chain.
Add this plugin to your build using the plugins DSL:
plugins {
id("ai.clarity.codeartifact") version "0.2.1"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("ai.clarity.codeartifact:ai.clarity.codeartifact.gradle.plugin:0.2.1") }It can then be applied in the precompiled script plugin:plugins { id("ai.clarity.codeartifact") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("ai.clarity.codeartifact:ai.clarity.codeartifact.gradle.plugin:0.2.1") } } apply(plugin = "ai.clarity.codeartifact") - Applying plugins to all subprojects .