You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -65,20 +65,51 @@ This will output HTML formatted documentation to `build/dokka/htmlMultiModule`
65
65
66
66
NOTE: You currently need an HTTP server to view the documentation in browser locally. You can either use the builtin server in Intellij or use your favorite local server (e.g. `python3 -m http.server`). See [Kotlin/dokka#1795](https://github.com/Kotlin/dokka/issues/1795)
67
67
68
-
### Build properties
68
+
### Build Properties
69
69
70
70
You can define a `local.properties` config file at the root of the project to modify build behavior.
71
71
72
-
An example config with the various properties is below:
72
+
|Property|Description|
73
+
|---|---|
74
+
|`compositeProjects`|Specify paths to repos the SDK depends upon such as `smithy-kotlin`|
75
+
|`aws.services`|Specify inclusions (+ prefix) and exclusions (- prefix) of service names to generate|
76
+
|`aws.protocols`|Specify inclusions (+ prefix) and exclusions (- prefix) of AWS protocols to generate|
73
77
74
-
```
78
+
#### Composite Projects
79
+
80
+
Dependencies of the SDK can be added as composite build such that multiple repos may appear as one
81
+
holistic source project in the IDE.
82
+
83
+
```ini
75
84
# comma separated list of paths to `includeBuild()`
76
85
# This is useful for local development of smithy-kotlin in particular
77
86
compositeProjects=../smithy-kotlin
87
+
```
88
+
89
+
#### Generating Specific Services Based on Name or Protocol
78
90
79
-
# comma separated list of services to generate from codegen/sdk/aws-models. When not specified all services are generated
80
-
# service names match the filenames in the models directory `service.VERSION.json`
81
-
aws.services=lambda
91
+
A comma separated list of services to include or exclude for generation from codegen/sdk/aws-models may
92
+
be specified with the `aws.services` property. A list of protocols of services to generate may be specified
93
+
with the `aws.protocols` property.
94
+
95
+
Included services require a '+' character prefix and excluded services require a '-' character.
96
+
If any items are specified for inclusion, only specified included members will be generated. If no items
97
+
are specified for inclusion, all members not excluded will be generated.
98
+
When unspecified all services found in the directory specified by the `modelsDir` property are generated.
99
+
Service names match the filenames in the models directory `service.VERSION.json`.
100
+
101
+
Some example entries for `local.properties`:
102
+
```ini
103
+
# Generate only AWS Lambda:
104
+
aws.services=+lambda
82
105
```
83
106
107
+
```ini
108
+
# Generate all services but AWS location and AWS DynamoDB:
109
+
aws.services=-location,-dynamodb
110
+
```
84
111
112
+
```ini
113
+
# Generate all services except those using the restJson1 protocol:
0 commit comments