@@ -10,8 +10,7 @@ extra["moduleName"] = "software.amazon.smithy.rust.kotlin.codegen.server.test"
10
10
tasks[" jar" ].enabled = false
11
11
12
12
plugins {
13
- val smithyGradlePluginVersion: String by project
14
- id(" software.amazon.smithy" ).version(smithyGradlePluginVersion)
13
+ id(" software.amazon.smithy" )
15
14
}
16
15
17
16
val smithyVersion: String by project
@@ -39,28 +38,46 @@ dependencies {
39
38
val allCodegenTests = " ../codegen-core/common-test-models" .let { commonModels ->
40
39
listOf (
41
40
CodegenTest (" crate#Config" , " naming_test_ops" , imports = listOf (" $commonModels /naming-obstacle-course-ops.smithy" )),
42
- CodegenTest (" naming_obs_structs#NamingObstacleCourseStructs" , " naming_test_structs" , imports = listOf (" $commonModels /naming-obstacle-course-structs.smithy" )),
41
+ CodegenTest (
42
+ " naming_obs_structs#NamingObstacleCourseStructs" ,
43
+ " naming_test_structs" ,
44
+ imports = listOf (" $commonModels /naming-obstacle-course-structs.smithy" ),
45
+ ),
43
46
CodegenTest (" com.amazonaws.simple#SimpleService" , " simple" , imports = listOf (" $commonModels /simple.smithy" )),
44
47
CodegenTest (
45
48
" com.amazonaws.constraints#ConstraintsService" , " constraints_without_public_constrained_types" ,
46
49
imports = listOf (" $commonModels /constraints.smithy" ),
47
50
extraConfig = """ , "codegen": { "publicConstrainedTypes": false } """ ,
48
51
),
49
- CodegenTest (" com.amazonaws.constraints#ConstraintsService" , " constraints" , imports = listOf (" $commonModels /constraints.smithy" )),
52
+ CodegenTest (
53
+ " com.amazonaws.constraints#ConstraintsService" ,
54
+ " constraints" ,
55
+ imports = listOf (" $commonModels /constraints.smithy" ),
56
+ ),
50
57
CodegenTest (" aws.protocoltests.restjson#RestJson" , " rest_json" ),
51
- CodegenTest (" aws.protocoltests.restjson#RestJsonExtras" , " rest_json_extras" , imports = listOf (" $commonModels /rest-json-extras.smithy" )),
52
- CodegenTest (" aws.protocoltests.restjson.validation#RestJsonValidation" , " rest_json_validation" ,
58
+ CodegenTest (
59
+ " aws.protocoltests.restjson#RestJsonExtras" ,
60
+ " rest_json_extras" ,
61
+ imports = listOf (" $commonModels /rest-json-extras.smithy" ),
62
+ ),
63
+ CodegenTest (
64
+ " aws.protocoltests.restjson.validation#RestJsonValidation" , " rest_json_validation" ,
53
65
extraConfig = """ , "codegen": { "ignoreUnsupportedConstraints": true } """ ,
54
66
),
55
67
CodegenTest (" aws.protocoltests.json10#JsonRpc10" , " json_rpc10" ),
56
68
CodegenTest (" aws.protocoltests.json#JsonProtocol" , " json_rpc11" ),
57
69
CodegenTest (" aws.protocoltests.misc#MiscService" , " misc" , imports = listOf (" $commonModels /misc.smithy" )),
58
- CodegenTest (" com.amazonaws.ebs#Ebs" , " ebs" ,
70
+ CodegenTest (
71
+ " com.amazonaws.ebs#Ebs" , " ebs" ,
59
72
imports = listOf (" $commonModels /ebs.json" ),
60
73
extraConfig = """ , "codegen": { "ignoreUnsupportedConstraints": true } """ ,
61
74
),
62
75
CodegenTest (" com.amazonaws.s3#AmazonS3" , " s3" ),
63
- CodegenTest (" com.aws.example.rust#PokemonService" , " pokemon-service-server-sdk" , imports = listOf (" $commonModels /pokemon.smithy" , " $commonModels /pokemon-common.smithy" )),
76
+ CodegenTest (
77
+ " com.aws.example.rust#PokemonService" ,
78
+ " pokemon-service-server-sdk" ,
79
+ imports = listOf (" $commonModels /pokemon.smithy" , " $commonModels /pokemon-common.smithy" ),
80
+ ),
64
81
)
65
82
}
66
83
0 commit comments