Reputation: 11619
I'm trying to add some properties to a project, which is configured with custom plugin.
class MyPlugin implements Plugin<Project> {
@Override
void apply(Project project) {
project.properties.put("my_property", "123)
println(project.properties.get("my_property"))
}
}
I see null in output. What I am missing here?
Upvotes: 3
Views: 6814