2

I have following set up for keeping class and class method names. It works well with classes hence classes in package and sub packages of com.seleniumtests.** are not obfuscated.

enter image description here

But despite I have selected Keep names - .class method names check box, methods in classes of package com.seleniumtests.** are still obfuscated.

Did I miss any configuration?

Tarun
  • 3,456
  • 10
  • 48
  • 82

1 Answers1

2

The checkbox for Keep names - .class method names is unrelated. It preserves the names of classes that are used in .class constructs, for instance MyClass.class. It is rarely required.

The screenshot doesn't show the custom rules that you have defined, but the configuration should contain

-keep class com.seleniumtests.** {
    <methods>;
}

You can verify this on the Process tab or in the saved configuration file.

Eric Lafortune
  • 45,150
  • 8
  • 114
  • 106
  • I ended up using config file and not GUI. Thanks for answer and congratulations on bounty :) – Tarun Oct 13 '13 at 06:26