Skip to content

Commit c759511

Browse files
committed
bump handlebars dependency from 4.3.1 to 4.5.0
Resolves a build warning due to incompatible versions of slf4j. Change in HandlebarsTemplateEngine is due to a change in handlebars where they no longer shade commons text in their jar. Exclude the nashhorn-core dependency from handlebars since it is not license compliant. It is only needed for javascript support in templates which we do not use.
1 parent af54182 commit c759511

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sdk-api-gen-common/build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ description = "Restate SDK API Gen Common"
99
dependencies {
1010
compileOnly(libs.jspecify)
1111

12-
api(libs.handlebars)
12+
api(libs.handlebars) {
13+
// exclude nashorn-core, since it is not license compliant and is only
14+
// needed for javascript in templates which we don't use.
15+
exclude(group = "org.openjdk.nashorn", module = "nashorn-core")
16+
}
1317
api(project(":sdk-common"))
1418

1519
// We need it to silence the slf4j warning (coming from handlebars)

0 commit comments

Comments
 (0)