diff --git a/build.gradle.kts b/build.gradle.kts index 11f19cc45d0..05e700823ec 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -22,8 +22,15 @@ plugins { // ensure the correct version of KGP ends up on our buildscript classpath alias(libs.plugins.kotlin.multiplatform) apply false alias(libs.plugins.kotlin.jvm) apply false + alias(libs.plugins.aws.kotlin.repo.tools.artifactsizemetrics) } +artifactSizeMetrics { + artifactPrefixes = setOf(":services", ":aws-runtime") + closurePrefixes = setOf(":services") + significantChangeThresholdPercentage = 5.0 + projectRepositoryName = "aws-sdk-kotlin" + val testJavaVersion = typedProp("test.java.version")?.let { JavaLanguageVersion.of(it) }?.also {