Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to hook proguard into dist #1309

Closed
roti opened this issue Feb 19, 2020 · 1 comment
Closed

how to hook proguard into dist #1309

roti opened this issue Feb 19, 2020 · 1 comment

Comments

@roti
Copy link

roti commented Feb 19, 2020

This is not an issue per se, but rather a question / request for documentation.

I want to integate sbt-proguard into my play project. I want to have produard execute during dist, after the jars were created, but before the zip file has been created.

The question is, on what task should I make proguard depend on? If one can find out this information with sbt commands I apologise, I am not that proficient in sbt.

@muuki88
Copy link
Contributor

muuki88 commented Feb 20, 2020

Hi @roti
No worries 😄

The task you should depend on is universal:packageBin (see README.md 😉 ). That creates a zip file with the application.

I'm not familiar with proguard and how it should work, but there's a well written documentation on task graphs, which explains how to write tasks that depend on each other.

@muuki88 muuki88 closed this as completed Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants