| 
									
										
										
										
											2017-03-21 11:58:19 -07:00
										 |  |  | apply from: '../gradle/scripts/play.gradle' | 
					
						
							| 
									
										
										
										
											2015-11-19 14:39:21 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-03-21 11:37:38 -07:00
										 |  |  | // Change this to listen on a different port
 | 
					
						
							| 
									
										
										
										
											2017-08-03 15:40:34 -07:00
										 |  |  | project.ext.httpPort = 9001 | 
					
						
							| 
									
										
										
										
											2017-03-21 11:58:19 -07:00
										 |  |  | project.ext.playBinaryBaseName = "wherehows-frontend" | 
					
						
							| 
									
										
										
										
											2015-11-19 14:39:21 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-04 21:35:14 -07:00
										 |  |  | configurations { | 
					
						
							|  |  |  |     assets | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-11-19 14:39:21 -08:00
										 |  |  | dependencies{ | 
					
						
							| 
									
										
										
										
											2017-04-04 21:35:14 -07:00
										 |  |  |     assets project(path: ':wherehows-web', configuration: 'assets') | 
					
						
							| 
									
										
										
										
											2017-06-30 15:05:17 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  |     play project(":wherehows-dao") | 
					
						
							| 
									
										
										
										
											2017-03-23 15:52:23 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-03-21 11:37:38 -07:00
										 |  |  |     play externalDependency.play_java_ws | 
					
						
							|  |  |  |     play externalDependency.play_java_jdbc | 
					
						
							|  |  |  |     play externalDependency.play_filter | 
					
						
							|  |  |  |     play externalDependency.play_cache | 
					
						
							|  |  |  |     play externalDependency.mysql | 
					
						
							| 
									
										
										
										
											2015-11-19 14:39:21 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-08-13 09:45:52 -07:00
										 |  |  |     playTest externalDependency.festAssert | 
					
						
							| 
									
										
										
										
											2017-03-21 11:37:38 -07:00
										 |  |  |     playTest externalDependency.mockito | 
					
						
							| 
									
										
										
										
											2015-11-19 14:39:21 -08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-04 21:35:14 -07:00
										 |  |  | model { | 
					
						
							|  |  |  |   components { | 
					
						
							|  |  |  |     play { | 
					
						
							|  |  |  |       binaries.all { binary -> | 
					
						
							|  |  |  |         binary.assets.addAssetDir unzipAssets.destinationDir | 
					
						
							| 
									
										
										
										
											2017-04-05 10:23:20 -07:00
										 |  |  |         binary.assets.builtBy unzipAssets | 
					
						
							| 
									
										
										
										
											2017-04-04 21:35:14 -07:00
										 |  |  |       } | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-05 10:23:20 -07:00
										 |  |  | task unzipAssets(type: Copy, dependsOn: configurations.assets) { | 
					
						
							| 
									
										
										
										
											2017-04-04 21:35:14 -07:00
										 |  |  |   into "${buildDir}/assets" | 
					
						
							|  |  |  |   from { | 
					
						
							|  |  |  |    configurations.assets.collect{ zipTree(it) } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } |