Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. plugins {
  2. id ‘ java ’
  3. id ‘ play ’
  4. id ‘ idea ’
  5. }
  6. ...
  7. dependencies {
  8. ...
  9. play fileTree(dir: 'lib', include: ['*.jar'])
  10.  
  11. play group: 'junit', name: 'junit', version: '4.12'
  12. testCompile group: 'junit', name: 'junit', version: '4.12'
  13. }
  14. model {
  15. components {
  16. play {
  17. platform play: playVersion, scala: scalaVersion, java: jvmVersion
  18. injectedRoutesGenerator = true
  19. sources {
  20. twirlTemplates {
  21. defaultImports = TwirlImports.JAVA
  22. }
  23. }
  24. }
  25. }
  26. }
  27. configurations {
  28. compile.extendsFrom(play)
  29. testCompile.extendsFrom(playTest)
  30. implementation.extendsFrom(playRun)
  31. implementation.extendsFrom(playPlatform)
  32. }
  33. tasks.withType(PlayRun) {
  34. assetsJar = file(‘ lib / mylib.jar ’)
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement