<dependency>
<groupId>com.example</groupId>
<artifactId>library</artifactId>
<version>1.0.0</version>
</dependency>
import com.example.library.SomeClass;
import com.example.library.StringUtils;
public class HomeController extends Controller {
public Result index() {
String str = "Hello, Play framework!";
String reversedStr = StringUtils.reverse(str);
return ok(reversedStr);
}
}