| # Copyright (c) 2026, the R8 project authors. Please see the AUTHORS file | |
| # for details. All rights reserved. Use of this source code is governed by a | |
| # BSD-style license that can be found in the LICENSE file. | |
| -keep public class com.android.tools.r8.R8Assistant { public static void main(java.lang.String[]); } | |
| -keep public class com.android.tools.r8.R8AssistantVersion { | |
| public static final java.lang.String LABEL; | |
| public static java.lang.String getVersionString(); | |
| } | |
| -keep public class com.android.tools.r8.Version { public static final java.lang.String LABEL; } | |
| -keep public class com.android.tools.r8.Version { public static java.lang.String getVersionString(); } | |
| -keep public class com.android.tools.r8.Version { public static int getMajorVersion(); } | |
| -keep public class com.android.tools.r8.Version { public static int getMinorVersion(); } | |
| -keep public class com.android.tools.r8.Version { public static int getPatchVersion(); } | |
| -keep public class com.android.tools.r8.Version { public static java.lang.String getPreReleaseString(); } | |
| -keep public class com.android.tools.r8.Version { public static boolean isDevelopmentVersion(); } | |
| -keepattributes InnerClasses, EnclosingMethod, Exceptions, Signature | |
| -repackageclasses com.android.tools.r8.assistant.internal | |
| -keepnames class com.android.tools.r8.assistant.runtime.** { | |
| *; | |
| } | |
| # The threading module implementations are loaded reflectively by name. | |
| -keep class com.android.tools.r8.threading.providers.** { | |
| public *; | |
| } | |
| -include dontwarn.txt |