Initialer commit
This commit is contained in:
28
localdeploy/localdeploy.gradle
Normal file
28
localdeploy/localdeploy.gradle
Normal file
@@ -0,0 +1,28 @@
|
||||
def wildflyHome = project.hasProperty('wildflyHome') ? project.getProperty('wildflyHome') : (System.getenv('JBOSS_HOME') != null ? System.getenv('JBOSS_HOME').replaceAll('\\\\', '/') : '')
|
||||
|
||||
ext {
|
||||
println wildflyHome
|
||||
}
|
||||
|
||||
configurations {
|
||||
deploy
|
||||
}
|
||||
|
||||
dependencies {
|
||||
deploy project(path: ":aufgaben-service", configuration: 'archives')
|
||||
deploy project(path: ":mail-service", configuration: 'archives')
|
||||
deploy project(path: ":registration-service", configuration: 'archives')
|
||||
deploy project(path: ":session-service", configuration: 'archives')
|
||||
deploy project(path: ":user-service", configuration: 'archives')
|
||||
}
|
||||
|
||||
task clearDeploymentFolder {
|
||||
doFirst {
|
||||
delete wildflyHome + '/standalone/deployments/'
|
||||
}
|
||||
}
|
||||
|
||||
task deploy(dependsOn:['clearDeploymentFolder'], type: Copy) {
|
||||
from configurations.deploy
|
||||
into wildflyHome + '/standalone/deployments'
|
||||
}
|
||||
Reference in New Issue
Block a user