title: Android Gradle task to copy files after build
body: <p>I am trying to copy a couple of files from the source tree to the directory where Gradle finally generates the apk files. The build seems to go fine but I do not seem to see the copy working. I added the following task in my modules build.gradle</p>
  
  <pre><code>task copySupportFiles(type: Copy){
      from 'src/main/support'
      into 'build/outputs/apk'
      include '**/.dat'
      include '**/.txt'
  }
  
  assembleDebug {}.doLast{
      tasks.copySupportFiles.execute()
  }
  </code></pre>