Created
April 24, 2018 15:56
-
-
Save StuStirling/555055f04807c331224848661a233d82 to your computer and use it in GitHub Desktop.
Android Prebuild Task
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task copyFiles(type: Copy) { | |
from "$projectDir/src/flavorDevelop/cpp/" | |
into "$projectDir/src/develop/cpp/" | |
} | |
tasks.whenTaskAdded { task -> | |
if (task.name == 'preFlavorDevelopDebugBuild') { | |
task.dependsOn copyFiles | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment