Skip to content

Commit 1b88608

Browse files
authored
chore(codegen): bump smithy-gradle-version to 1.2.0 (#6909)
1 parent 8fa42e7 commit 1b88608

File tree

5 files changed

+22
-7
lines changed

5 files changed

+22
-7
lines changed

codegen/generic-client-test-codegen/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ buildscript {
3030
}
3131

3232
plugins {
33-
val smithyGradleVersion: String by project
34-
id("software.amazon.smithy").version(smithyGradleVersion)
33+
val smithyPluginVersion: String by project
34+
id("software.amazon.smithy").version(smithyPluginVersion)
3535
}
3636

3737
dependencies {

codegen/gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
smithyVersion=1.53.0
2-
smithyGradleVersion=0.6.0
2+
smithyGradleVersion=1.2.0
3+
smithyPluginVersion=0.6.0

codegen/protocol-test-codegen/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ buildscript {
3030
}
3131

3232
plugins {
33-
val smithyGradleVersion: String by project
34-
id("software.amazon.smithy").version(smithyGradleVersion)
33+
val smithyPluginVersion: String by project
34+
id("software.amazon.smithy").version(smithyPluginVersion)
3535
}
3636

3737
dependencies {

codegen/sdk-codegen/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ buildscript {
3838
}
3939

4040
plugins {
41-
val smithyGradleVersion: String by project
42-
id("software.amazon.smithy").version(smithyGradleVersion)
41+
val smithyPluginVersion: String by project
42+
id("software.amazon.smithy").version(smithyPluginVersion)
4343
}
4444

4545
dependencies {

codegen/settings.gradle.kts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,17 @@ file(
3535
.filter { it.isDirectory }
3636
.forEach { includeBuild(it.absolutePath) }
3737
}
38+
39+
pluginManagement {
40+
val smithyGradleVersion: String by settings
41+
plugins {
42+
id("software.amazon.smithy.gradle.smithy-jar").version(smithyGradleVersion)
43+
id("software.amazon.smithy.gradle.smithy-base").version(smithyGradleVersion)
44+
}
45+
46+
repositories {
47+
mavenLocal()
48+
mavenCentral()
49+
gradlePluginPortal()
50+
}
51+
}

0 commit comments

Comments
 (0)