Skip to content

Commit

Permalink
Adding obfuscation info (#1624)
Browse files Browse the repository at this point in the history
* Update README.md

* Update README.md
  • Loading branch information
akurasov authored Dec 27, 2021
1 parent a4604d4 commit 46ca39d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tutorials/Native_distributions_and_local_execution/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -544,3 +544,9 @@ fun main() {
```
3. Run `./gradlew runDistributable`.
4. Links like `compose://foo/bar` are now redirected from a browser to your application.
## Obfuscation
To obfuscate Compose Multiplatform JVM applications standard approach for JVM application works. Using task packageUberJarForCurrentOS one could generate JAR file which could be later obfuscated using ProGuard or R8, see for example https://stackoverflow.com/questions/64355998/proguard-example-for-gradle-java-application.
Also example in the document using Kotlin DSL would be better, as above link uses Groovy.

0 comments on commit 46ca39d

Please sign in to comment.