File tree Expand file tree Collapse file tree 5 files changed +31
-9
lines changed
generic-client-test-codegen
smithy-aws-typescript-codegen Expand file tree Collapse file tree 5 files changed +31
-9
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ allprojects {
31
31
version = " 0.7.0"
32
32
}
33
33
34
+ extra[" smithyVersion" ] = " [1.12.0,1.13.0["
35
+
34
36
// The root project doesn't produce a JAR.
35
37
tasks[" jar" ].enabled = false
36
38
Original file line number Diff line number Diff line change 15
15
16
16
import software.amazon.smithy.gradle.tasks.SmithyBuild
17
17
18
+ buildscript {
19
+ repositories {
20
+ mavenCentral()
21
+ }
22
+ dependencies {
23
+ " classpath" (" software.amazon.smithy:smithy-cli:${rootProject.extra[" smithyVersion" ]} " )
24
+ }
25
+ }
26
+
18
27
plugins {
19
28
id(" software.amazon.smithy" ) version " 0.5.3"
20
29
}
21
30
22
31
dependencies {
23
- implementation(" software.amazon.smithy:smithy-aws-protocol-tests:[1.12.0, 1.13.0[ " )
32
+ implementation(" software.amazon.smithy:smithy-aws-protocol-tests:${rootProject.extra[ " smithyVersion " ]} " )
24
33
implementation(project(" :smithy-aws-typescript-codegen" ))
25
34
}
26
35
Original file line number Diff line number Diff line change 15
15
16
16
import software.amazon.smithy.gradle.tasks.SmithyBuild
17
17
18
+ buildscript {
19
+ repositories {
20
+ mavenCentral()
21
+ }
22
+ dependencies {
23
+ " classpath" (" software.amazon.smithy:smithy-cli:1.12.+" )
24
+ }
25
+ }
26
+
18
27
plugins {
19
28
id(" software.amazon.smithy" ) version " 0.5.3"
20
29
}
21
30
22
31
dependencies {
23
- implementation(" software.amazon.smithy:smithy-aws-protocol-tests:[1.12.0, 1.13.0[ " )
32
+ implementation(" software.amazon.smithy:smithy-aws-protocol-tests:${rootProject.extra[ " smithyVersion " ]} " )
24
33
implementation(project(" :smithy-aws-typescript-codegen" ))
25
34
}
26
35
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ buildscript {
25
25
mavenCentral()
26
26
}
27
27
dependencies {
28
- " classpath" (" software.amazon.smithy:smithy-aws-traits:[1.12.0,1.13.0[" )
28
+ " classpath" (" software.amazon.smithy:smithy-cli:${rootProject.extra[" smithyVersion" ]} " )
29
+ " classpath" (" software.amazon.smithy:smithy-aws-traits:${rootProject.extra[" smithyVersion" ]} " )
29
30
}
30
31
}
31
32
Original file line number Diff line number Diff line change @@ -25,16 +25,17 @@ buildscript {
25
25
mavenCentral()
26
26
}
27
27
dependencies {
28
- classpath(" software.amazon.smithy:smithy-model:[1.12.0, 1.13.0[ " )
28
+ classpath(" software.amazon.smithy:smithy-model:${rootProject.extra[ " smithyVersion " ]} " )
29
29
}
30
30
}
31
31
32
32
dependencies {
33
- api(" software.amazon.smithy:smithy-aws-cloudformation-traits:[1.12.0, 1.13.0[" )
34
- api(" software.amazon.smithy:smithy-aws-traits:[1.12.0, 1.13.0[" )
35
- api(" software.amazon.smithy:smithy-waiters:[1.12.0, 1.13.0[" )
36
- api(" software.amazon.smithy:smithy-aws-iam-traits:[1.12.0, 1.13.0[" )
37
- api(" software.amazon.smithy:smithy-protocol-test-traits:[1.12.0, 1.13.0[" )
33
+ api(" software.amazon.smithy:smithy-aws-cloudformation-traits:${rootProject.extra[" smithyVersion" ]} " )
34
+ api(" software.amazon.smithy:smithy-aws-traits:${rootProject.extra[" smithyVersion" ]} " )
35
+ api(" software.amazon.smithy:smithy-waiters:${rootProject.extra[" smithyVersion" ]} " )
36
+ api(" software.amazon.smithy:smithy-aws-iam-traits:${rootProject.extra[" smithyVersion" ]} " )
37
+ api(" software.amazon.smithy:smithy-protocol-test-traits:${rootProject.extra[" smithyVersion" ]} " )
38
+ api(" software.amazon.smithy:smithy-model:${rootProject.extra[" smithyVersion" ]} " )
38
39
api(" software.amazon.smithy.typescript:smithy-typescript-codegen:0.7.0" )
39
40
}
40
41
You can’t perform that action at this time.
0 commit comments