From bfb9929fbd959c6d87ecaa0aa19160a34f0f6491 Mon Sep 17 00:00:00 2001 From: Justin Ryan Date: Sun, 31 Jul 2016 10:21:28 -0700 Subject: [PATCH] Fix reference to file, instead of it. --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index e3b386df..9c6c8475 100644 --- a/build.gradle +++ b/build.gradle @@ -140,7 +140,7 @@ subprojects { // Exclude java sources that will not compile if (tags.compileTimeError) { - sourceSets.main.java.excludes.add(it.name) + sourceSets.main.java.excludes.add(file.name) } else { JavaExec javaTask = null // Add tasks for java sources with main methods