Browse Source

Adding obfuscation info (#1624)

* Update README.md

* Update README.md
pull/1658/head v1.1.0-alpha1-dev550
akurasov 3 years ago committed by GitHub
parent
commit
46ca39d510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      tutorials/Native_distributions_and_local_execution/README.md

6
tutorials/Native_distributions_and_local_execution/README.md

@ -544,3 +544,9 @@ fun main() {
``` ```
3. Run `./gradlew runDistributable`. 3. Run `./gradlew runDistributable`.
4. Links like `compose://foo/bar` are now redirected from a browser to your application. 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.

Loading…
Cancel
Save