Permalink
Browse files

allowing Gradle and Bazel co-exist in the same project

  • Loading branch information...
menny committed Dec 17, 2015
1 parent ac5e50f commit 945daffa11249c3ac0841edf89c97098faf0c5e7
Showing with 9 additions and 3 deletions.
  1. +2 −3 .gitignore
  2. +7 −0 build.gradle
@@ -1,9 +1,8 @@
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.idea
.DS_Store
/build
/captures
gen_build
bazel-*
@@ -12,6 +12,13 @@ buildscript {
}
}

//changing the build output folder of Gradle to be something different than BUILD
//so case-insensitive filesystems (Windows and MacOSX) will allow Bazel's BUILD
buildDir = 'gen_build'
allprojects {
buildDir 'gen_build'
}

allprojects {
repositories {
jcenter()

0 comments on commit 945daff

Please sign in to comment.