Skip to content

Commit

Permalink
added git ignore in injector example gradle script
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriel committed Sep 26, 2016
1 parent 6776e5b commit 6574523
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions injector_generator_example.gradle
Expand Up @@ -36,6 +36,12 @@ task ensureDebugBottleInjectFile << {
writer.writeLine '}'
}
print("DTInjector.java created.")

def ignoreFile = new File(rootDir, '.gitignore')
if (ignoreFile.exists()) {
def SEPARATOR = System.getProperty("line.separator")
ignoreFile.append("${SEPARATOR}app/src/main/java/your/package/debug/DTInjector.java")
}
}
}

Expand Down

0 comments on commit 6574523

Please sign in to comment.