Skip to content

Instantly share code, notes, and snippets.

@nik9000
Created December 30, 2016 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nik9000/d89a27e15ea76b6a0ca4456ec649822e to your computer and use it in GitHub Desktop.
Save nik9000/d89a27e15ea76b6a0ca4456ec649822e to your computer and use it in GitHub Desktop.
diff --git a/build.gradle b/build.gradle
index 1159352..07243c0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -246,6 +246,9 @@ allprojects {
// set this so generated dirs will be relative to eclipse build
project.buildDir = eclipseBuild
}
+ project.afterEvaluate {
+ eclipse.classpath.sourceSets = project.sourceSets
+ }
eclipse.classpath.file.whenMerged { classpath ->
// give each source folder a unique corresponding output folder
int i = 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment