Created
May 26, 2016 11:00
-
-
Save khauser/bce84971f67c695660ff52474d9fddb6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jar { | |
baseName = 'frontend' | |
version = '0.0.1-SNAPSHOT' | |
} | |
distDocker { | |
exposePort 80 | |
setEnvironment 'JAVA_OPTS', '-Dspring.profiles.active=docker' | |
} | |
docker { | |
baseImage = 'develar/java:8u45-dcevm' | |
} | |
test.dependsOn upDockerCompose | |
test << { | |
downDockerCompose.execute() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment