Guest User

Untitled

a guest
Jan 15th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. gradle.taskGraph.whenReady {
  2. jar {
  3. from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
  4.  
  5. manifest {
  6. attributes("Main-Class": "brut.apktool.Main")
  7. }
  8. }
  9. }
  10.  
  11. processResources {
  12. ext.fullrev = ''
  13. ant.loadfile(srcFile: "../../.git/refs/heads/master", property: ext.fullrev)
  14. filter(FixCrLfFilter)
  15. filter(org.apache.tools.ant.filters.ReplaceTokens, tokens: [version: apktoolversion, gitrev: ant.properties[ext.fullrev].substring(0,10)])
  16. }
Add Comment
Please, Sign In to add comment