Skip to content

Commit d66936a

Browse files
authored
Add BDD auto generatrion in rules-engine-tests (#3027)
* Add BDD auto generatrion in rules-engine-tests * Add changelog * Change projection name
1 parent 88149c8 commit d66936a

4 files changed

Lines changed: 30 additions & 13 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "feature",
3+
"description": "Add BDD auto generatrion in rules-engine-tests",
4+
"pull_requests": [
5+
"[#3027](https://github.com/smithy-lang/smithy/pull/3027)"
6+
]
7+
}

smithy-rules-engine-tests/build.gradle.kts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55
plugins {
6+
alias(libs.plugins.smithy.jar)
67
id("smithy.module-conventions")
78
}
89

@@ -12,7 +13,17 @@ extra["displayName"] = "Smithy :: Rules Engine :: Tests"
1213
extra["moduleName"] = "software.amazon.smithy.rulesenginetests"
1314

1415
dependencies {
16+
implementation(project(path = ":smithy-cli", configuration = "shadow"))
1517
api(project(":smithy-rules-engine"))
1618
api(project(":smithy-model"))
1719
api(project(":smithy-utils"))
1820
}
21+
22+
tasks.sourcesJar {
23+
dependsOn("smithyJarStaging")
24+
}
25+
26+
smithy {
27+
format.set(false)
28+
sourceProjection.set("bddSource")
29+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version": "1.0",
3+
"projections": {
4+
"bddSource": {
5+
"transforms": [
6+
{
7+
"name": "compileBdd"
8+
}
9+
]
10+
}
11+
}
12+
}

smithy-rules-engine-tests/src/main/resources/META-INF/smithy/manifest

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)