Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plugins {
- id ‘ java ’
- id ‘ play ’
- id ‘ idea ’
- }
- ...
- dependencies {
- ...
- play fileTree(dir: 'lib', include: ['*.jar'])
- play group: 'junit', name: 'junit', version: '4.12'
- testCompile group: 'junit', name: 'junit', version: '4.12'
- }
- model {
- components {
- play {
- platform play: playVersion, scala: scalaVersion, java: jvmVersion
- injectedRoutesGenerator = true
- sources {
- twirlTemplates {
- defaultImports = TwirlImports.JAVA
- }
- }
- }
- }
- }
- configurations {
- compile.extendsFrom(play)
- testCompile.extendsFrom(playTest)
- implementation.extendsFrom(playRun)
- implementation.extendsFrom(playPlatform)
- }
- tasks.withType(PlayRun) {
- assetsJar = file(‘ lib / mylib.jar ’)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement