realm-java: realm-gradle-plugin:1.0.1 breaks Proguard
realm-gradle-plugin:1.0.1 jenkins / Android Studio 2.1.2
Note: the configuration refers to the unknown class 'sun.misc.Unsafe'
Note: the configuration refers to the unknown class 'sun.misc.Unsafe'
Note: there were 2 references to unknown classes.
You should check your configuration for typos.
Note: the configuration keeps the entry point 'io.realm.RealmObject { void deleteFromRealm(io.realm.RealmModel); }', but not the descriptor class 'io.realm.RealmModel'
Note: the configuration keeps the entry point 'io.realm.RealmObject { boolean isValid(io.realm.RealmModel); }', but not the descriptor class 'io.realm.RealmModel'
Note: the configuration keeps the entry point 'io.realm.RealmObject { boolean isLoaded(io.realm.RealmModel); }', but not the descriptor class 'io.realm.RealmModel'
Note: the configuration keeps the entry point 'io.realm.RealmObject { boolean load(io.realm.RealmModel); }', but not the descriptor class 'io.realm.RealmModel'
Note: the configuration keeps the entry point 'io.realm.RealmObject { void addChangeListener(io.realm.RealmChangeListener); }', but not the descriptor class 'io.realm.RealmChangeListener'
Note: the configuration keeps the entry point 'io.realm.RealmObject { void addChangeListener(io.realm.RealmModel,io.realm.RealmChangeListener); }', but not the descriptor class 'io.realm.RealmModel'
Note: the configuration keeps the entry point 'io.realm.RealmObject { void addChangeListener(io.realm.RealmModel,io.realm.RealmChangeListener); }', but not the descriptor class 'io.realm.RealmChangeListener'
Note: the configuration keeps the entry point 'io.realm.RealmObject { void removeChangeListener(io.realm.RealmChangeListener); }', but not the descriptor class 'io.realm.RealmChangeListener'
Note: the configuration keeps the entry point 'io.realm.RealmObject { void removeChangeListener(io.realm.RealmModel,io.realm.RealmChangeListener); }', but not the descriptor class 'io.realm.RealmModel'
Note: the configuration keeps the entry point 'io.realm.RealmObject { void removeChangeListener(io.realm.RealmModel,io.realm.RealmChangeListener); }', but not the descriptor class 'io.realm.RealmChangeListener'
Note: the configuration keeps the entry point 'io.realm.RealmObject { void removeChangeListeners(io.realm.RealmModel); }', but not the descriptor class 'io.realm.RealmModel'
Note: the configuration keeps the entry point 'io.realm.RealmObject { rx.Observable asObservable(io.realm.RealmModel); }', but not the descriptor class 'io.realm.RealmModel'
Note: the configuration keeps the entry point 'io.realm.internal.CheckedRow { void nativeSetMixed(long,long,io.realm.internal.Mixed); }', but not the descriptor class 'io.realm.internal.Mixed'
Note: the configuration keeps the entry point 'io.realm.internal.Table { void nativeSetMixed(long,long,long,io.realm.internal.Mixed); }', but not the descriptor class 'io.realm.internal.Mixed'
Note: the configuration keeps the entry point 'io.realm.internal.TableView { void nativeSetMixed(long,long,long,io.realm.internal.Mixed); }', but not the descriptor class 'io.realm.internal.Mixed'
Note: the configuration keeps the entry point 'io.realm.internal.UncheckedRow { void nativeSetMixed(long,long,io.realm.internal.Mixed); }', but not the descriptor class 'io.realm.internal.Mixed'
Note: there were 2 references to unknown classes.
You should check your configuration for typos.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unknownclass)
Note: there were 38 unkept descriptor classes in kept class members.
You should consider explicitly keeping the mentioned classes
(using '-keep').
(http://proguard.sourceforge.net/manual/troubleshooting.html#descriptorclass)
Note: there were 13 unresolved dynamic references to classes or interfaces.
You should check if you need to specify additional program jars.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclass)
Note: there were 10 accesses to class members by means of introspection.
You should consider explicitly keeping the mentioned class members
(using '-keep' or '-keepclassmembers').
(http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclassmember)
Warning: there were 5 unresolved references to classes or interfaces.
You may need to add missing library jars or update their versions.
If your code works fine without the missing classes, you can suppress
the warnings with '-dontwarn' options.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
Warning: Exception while processing task java.io.IOException: Please correct the above warnings first.
:app:transformClassesAndResourcesWithProguardForXXX FAILED
FAILURE: Build failed with an exception.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 26 (12 by maintainers)
@stk1m1 confirmed, it works with
1.1.0
. I will keep you guys informed if anything weird happens. Cheers