Added android_hooks folder and gradle task to copy build scripts hooks to project hooks
This commit is contained in:
parent
1f83bf5d08
commit
6c1b2cb7a5
|
|
@ -0,0 +1,7 @@
|
|||
task installGitHooks(type: Copy) {
|
||||
from new File(buildScriptsDir, 'android_hooks')
|
||||
into { new File(rootProject.rootDir, '.git/hooks') }
|
||||
fileMode 0777
|
||||
}
|
||||
|
||||
tasks.getByPath(':app:preBuild').dependsOn installGitHooks
|
||||
Loading…
Reference in New Issue