Skip to content

prakashvadrevu/play-module-java-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Play Module Java Example

Clone the project and give this command to build and publish it locally

activator publish-local

Add this in your target app's build.sbt

"in.confest" % "play-module-java-example_2.11" % "1.0"

You're done. You can import "Message" using @Inject

@Inject
private Message message;

public Result getMessage() {
    return ok(message.getMessage());
}

Fore a detailed info on this project, look at Writing a Play module

About

Play! (2.5) Module Java Example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published