apply from: '../gradle/scripts/play.gradle' // Change this to listen on a different port project.ext.httpPort = 9000 project.ext.playBinaryBaseName = "wherehows-frontend" configurations { assets } dependencies{ assets project(path: ':wherehows-web', configuration: 'assets') play project(':restli-client') play externalDependency.play_java_ws play externalDependency.play_java_jdbc play externalDependency.play_filter play externalDependency.play_cache play externalDependency.spring_jdbc play externalDependency.mysql playTest 'org.easytesting:fest-assert-core:2.0M10' playTest externalDependency.mockito } configurations { all*.exclude group: 'org.slf4j', module: 'slf4j-log4j12' all*.exclude group: 'log4j', module: 'log4j' } model { components { play { binaries.all { binary -> binary.assets.addAssetDir unzipAssets.destinationDir binary.assets.builtBy unzipAssets } } } } task unzipAssets(type: Copy, dependsOn: configurations.assets) { into "${buildDir}/assets" from { configurations.assets.collect{ zipTree(it) } } }