server/java/renkan-web/build.gradle
changeset 577 105ddd569ff7
parent 574 de0d488a0a1b
child 581 bf1211a84c4c
equal deleted inserted replaced
576:1e1791dfc9e4 577:105ddd569ff7
   113     testCompile group: 'org.springframework', name: 'spring-test', version:spring_version
   113     testCompile group: 'org.springframework', name: 'spring-test', version:spring_version
   114     testCompile group: 'com.jayway.jsonpath', name: 'json-path-assert', version:json_path_assert_version
   114     testCompile group: 'com.jayway.jsonpath', name: 'json-path-assert', version:json_path_assert_version
   115     testCompile group: 'commons-io', name: 'commons-io', version:commons_io_version
   115     testCompile group: 'commons-io', name: 'commons-io', version:commons_io_version
   116 }
   116 }
   117 
   117 
       
   118 // call grunt
       
   119 task buildClient(type:Exec) {
       
   120     workingDir "../../../client"
       
   121     commandLine "node_modules/.bin/grunt"
       
   122 }
   118 //apply overlay
   123 //apply overlay
   119 
   124 
   120 war {
   125 war {
   121     manifest { attributes(
   126     manifest { attributes(
   122         "Implementation-Vendor": organization,
   127         "Implementation-Vendor": organization,
   160     from("../../../client/dist/data") {
   165     from("../../../client/dist/data") {
   161         include "properties.json"
   166         include "properties.json"
   162         into "static/data"
   167         into "static/data"
   163     }
   168     }
   164 }
   169 }
       
   170 
       
   171 war.dependsOn buildClient