Advertisement
Guest User

Build gradle edits

a guest
Nov 27th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.53 KB | None | 0 0
  1. bootRun {
  2.     sourceResources sourceSets.main
  3.     if (project.hasProperty("profiles")) {
  4.         systemProperty 'spring.profiles.active', project.property('profiles')
  5.     } else {
  6.         systemProperty 'spring.profiles.active', 'development'
  7.     }
  8.  
  9.     main = 'com.nsa.team10.asgproject.AsgApp' CHANGE THIS
  10. }
  11.  
  12. test {
  13.     if (project.hasProperty("profiles")) {
  14.         systemProperty 'spring.profiles.active', project.property('profiles')
  15.     } else {
  16.         systemProperty 'spring.profiles.active', 'development'
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement