Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gradle] Add template imports to the action params #662

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

ihostage
Copy link
Member

No description provided.

@ihostage ihostage merged commit e2851d4 into playframework:gradle Aug 30, 2023
15 checks passed
@ihostage ihostage deleted the gradle-imports branch August 30, 2023 08:36
Comment on lines +68 to +75
Dependency twirlCompiler =
project
.getDependencies()
.create(
String.format(
"com.typesafe.play:twirl-compiler_%s:%s",
twirlExtension.getScalaVersion().get(), twirlVersion));
conf.defaultDependencies(dependencies -> dependencies.add(twirlCompiler));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have you tried moving dependencies.create(...) into defaultDependencies lambda?
Then afterEvaluate will not be required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants