blob: b4998ecb03d9f22ef6bf17e37ab2b99653ccd0eb [file] [log] [blame]
Mikaël Peltier7b7b53a2017-10-09 13:33:21 +02001# Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
2# for details. All rights reserved. Use of this source code is governed by a
3# BSD-style license that can be found in the LICENSE file.
4
5# Keep the application entry point and the target methods of invoke-custom because these methods
6# can not be known at compile time. Get rid of everything that is not reachable from there.
7-keep public class invokecustom.InvokeCustom {
8 public static void main(...);
9}
10
Mads Agerab4dc702018-09-24 09:43:52 +020011-keepclassmembers class * {
Mikaël Peltier7b7b53a2017-10-09 13:33:21 +020012 *** targetMethodTest*(...);
13}
14
15# allow access modification to enable minification
16-allowaccessmodification