Skip to content

Instantly share code, notes, and snippets.

@pdegand
Created October 27, 2014 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pdegand/0f8d07b574df84e764ec to your computer and use it in GitHub Desktop.
Save pdegand/0f8d07b574df84e764ec to your computer and use it in GitHub Desktop.
android.applicationVariants.all { variant ->
if (variant.buildType.name == 'release') {
variant.outputs.each { output ->
output.assemble << {
println "Copying Wear APK inside mobile"
copy {
from output.outputFile.path
into "../mobile/src/main/assets"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment