Skip to content
This repository has been archived by the owner on Feb 7, 2022. It is now read-only.

Commit

Permalink
Configure proguard
Browse files Browse the repository at this point in the history
  • Loading branch information
jneira committed Jan 17, 2019
1 parent 827149f commit 98c18e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Expand Up @@ -73,6 +73,7 @@ import proguard.gradle.ProGuardTask
task proJar(type: ProGuardTask) {
configuration defaultEtaProguardFile
configuration 'proguard.txt'

injars shadowJar.outputs
outjars "build/lib/dhall-eta-all-${project.version}.jar"
}
1 change: 1 addition & 0 deletions proguard.txt
@@ -1,6 +1,7 @@
-dontoptimize
-dontobfuscate
-libraryjars <java.home>/lib/rt.jar
-libraryjars <java.home>/jre/lib/rt.jar

-keep public class org.dhall.** { *; }
-keep public class org.bouncycastle.** { *; }
Expand Down

0 comments on commit 98c18e9

Please sign in to comment.