mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-09 02:02:12 +00:00

* Rename web to wherehows-api and update README. * Rename backend-service to wherehows-backend * Rename metadata-etl to wherehows-etl * Rename hadoop-dataset-extractor-standalone to wherehows-hadoop
48 lines
1.1 KiB
Groovy
48 lines
1.1 KiB
Groovy
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) }
|
|
}
|
|
}
|