Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
クラスおよびクラスメソッド名を保持するために、次の設定を行いました。クラスでうまく機能するため、パッケージ内のクラスとサブパッケージはcom.seleniumtests.** 難読化されません。
com.seleniumtests.**
しかしKeep names - .class method names、チェック ボックスを選択したにもかかわらず、パッケージのクラスのメソッドcom.seleniumtests.**はまだ難読化されています。
Keep names - .class method names
構成を見逃していませんか?
のチェックボックスKeep names - .class method namesは無関係です。.classたとえば、コンストラクトで使用されるクラスの名前を保持しますMyClass.class。必要になることはめったにありません。
.class
MyClass.class
スクリーンショットには、定義したカスタム ルールは表示されませんが、構成には以下が含まれている必要があります。
-keep class com.seleniumtests.** { <methods>; }
これは、Processタブまたは保存された構成ファイルで確認できます。
Process