Fix buildDir issue

Change-Id: I788baef2b34747e5234649d3108bcfd50a59a8ee
diff --git a/build.gradle b/build.gradle
index f249ba9..1a508ab 100644
--- a/build.gradle
+++ b/build.gradle
@@ -27,7 +27,7 @@
 
 subprojects {
     // Change buildDir first so that all plugins pick up the new value.
-    project.buildDir = project.file("$project.parent.buildDir/../$project.name")
+    project.buildDir = project.file("$project.parent.buildDir/../$project.name/build")
 
     apply plugin: 'maven'