mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-13 12:10:23 +00:00
43 lines
964 B
Groovy
43 lines
964 B
Groovy
apply from: '../gradle/scripts/play.gradle'
|
|
|
|
// Change this to listen on a different port
|
|
project.ext.httpPort = 9001
|
|
project.ext.playBinaryBaseName = "wherehows-frontend"
|
|
|
|
configurations {
|
|
assets
|
|
}
|
|
|
|
dependencies{
|
|
assets project(path: ':wherehows-web', configuration: 'assets')
|
|
|
|
play project(":wherehows-dao")
|
|
|
|
play externalDependency.play_java_ws
|
|
play externalDependency.play_java_jdbc
|
|
play externalDependency.play_filter
|
|
play externalDependency.play_cache
|
|
play externalDependency.mysql
|
|
|
|
playTest 'org.easytesting:fest-assert-core:2.0M10'
|
|
playTest externalDependency.mockito
|
|
}
|
|
|
|
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) }
|
|
}
|
|
}
|