| 
									
										
										
										
											2017-03-31 22:17:58 +05:30
										 |  |  | organization in ThisBuild := "org.baeldung" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // the Scala version that will be used for cross-compiled libraries | 
					
						
							| 
									
										
										
										
											2017-04-02 20:18:21 +05:30
										 |  |  | scalaVersion in ThisBuild := "2.11.8" | 
					
						
							| 
									
										
										
										
											2017-03-31 22:17:58 +05:30
										 |  |  | 
 | 
					
						
							|  |  |  | lagomKafkaEnabled in ThisBuild := false | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | lazy val greetingApi = project("greeting-api") | 
					
						
							|  |  |  |   .settings( | 
					
						
							|  |  |  |     version := "1.0-SNAPSHOT", | 
					
						
							|  |  |  |     libraryDependencies ++= Seq( | 
					
						
							|  |  |  |       lagomJavadslApi | 
					
						
							|  |  |  |     ) | 
					
						
							|  |  |  |   ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | lazy val greetingImpl = project("greeting-impl") | 
					
						
							|  |  |  |   .enablePlugins(LagomJava) | 
					
						
							|  |  |  |   .settings( | 
					
						
							|  |  |  |     version := "1.0-SNAPSHOT", | 
					
						
							|  |  |  |     libraryDependencies ++= Seq( | 
					
						
							|  |  |  |       lagomJavadslPersistenceCassandra | 
					
						
							|  |  |  |     ) | 
					
						
							|  |  |  |   ) | 
					
						
							|  |  |  |   .dependsOn(greetingApi, weatherApi) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | lazy val weatherApi = project("weather-api") | 
					
						
							|  |  |  |   .settings( | 
					
						
							|  |  |  |     version := "1.0-SNAPSHOT", | 
					
						
							|  |  |  |     libraryDependencies ++= Seq( | 
					
						
							|  |  |  |       lagomJavadslApi | 
					
						
							|  |  |  |     ) | 
					
						
							|  |  |  |   ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | lazy val weatherImpl = project("weather-impl") | 
					
						
							|  |  |  |   .enablePlugins(LagomJava) | 
					
						
							|  |  |  |   .settings( | 
					
						
							|  |  |  |     version := "1.0-SNAPSHOT" | 
					
						
							|  |  |  |   ) | 
					
						
							|  |  |  |   .dependsOn(weatherApi) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-02 20:18:21 +05:30
										 |  |  | def project(id: String) = Project(id, base = file(id)) |