{"action":"created","issue":{"url":"https://api.github.com/repos/evant/gradle-retrolambda/issues/220","repository_url":"https://api.github.com/repos/evant/gradle-retrolambda","labels_url":"https://api.github.com/repos/evant/gradle-retrolambda/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/evant/gradle-retrolambda/issues/220/comments","events_url":"https://api.github.com/repos/evant/gradle-retrolambda/issues/220/events","html_url":"https://github.com/evant/gradle-retrolambda/issues/220","id":190955275,"number":220,"title":"Proguard error: Can't find referenced class java.lang.invoke.LambdaForm$Hidden","user":{"login":"jemshit","id":1948828,"avatar_url":"https://avatars.githubusercontent.com/u/1948828?v=3","gravatar_id":"","url":"https://api.github.com/users/jemshit","html_url":"https://github.com/jemshit","followers_url":"https://api.github.com/users/jemshit/followers","following_url":"https://api.github.com/users/jemshit/following{/other_user}","gists_url":"https://api.github.com/users/jemshit/gists{/gist_id}","starred_url":"https://api.github.com/users/jemshit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jemshit/subscriptions","organizations_url":"https://api.github.com/users/jemshit/orgs","repos_url":"https://api.github.com/users/jemshit/repos","events_url":"https://api.github.com/users/jemshit/events{/privacy}","received_events_url":"https://api.github.com/users/jemshit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-22T10:04:12Z","updated_at":"2016-11-22T11:56:09Z","closed_at":"2016-11-22T11:56:09Z","body":"assembleDebug messages:\r\n```\r\nWarning:com.xxx.myapp.background_job.MapDownloadJob$$Lambda$1: can't find referenced class java.lang.invoke.LambdaForm$Hidden\r\nWarning:com.xxx.myapp.background_job.MapDownloadJob$$Lambda$2: can't find referenced class java.lang.invoke.LambdaForm$Hidden\r\nWarning:com.xxx.myapp.background_job.MapDownloadJob$$Lambda$3: can't find referenced class java.lang.invoke.LambdaForm$Hidden\r\nWarning:com.xxx.myapp.background_job.background_service.MapDownloadService$$Lambda$1: can't find referenced class java.lang.invoke.LambdaForm$Hidden\r\nWarning:com.xxx.myapp.background_job.background_service.MapDownloadService$$Lambda$2: can't find referenced class java.lang.invoke.LambdaForm$Hidden\r\nWarning:com.xxx.myapp.eventbus.RxBus$$Lambda$1: can't find referenced class java.lang.invoke.LambdaForm$Hidden\r\nWarning:com.xxx.myapp.eventbus.RxBus$$Lambda$2: can't find referenced class java.lang.invoke.LambdaForm$Hidden\r\n...\r\n```\r\n\r\nI have enabled proguard and added below line:\r\n`-dontwarn java.lang.invoke.*`\r\n\r\nUsing versions:\r\n` classpath 'me.tatarka:gradle-retrolambda:3.2.3'`\r\nand have this in `build.app`:\r\n```java\r\n  compileOptions {\r\n        sourceCompatibility JavaVersion.VERSION_1_8\r\n        targetCompatibility JavaVersion.VERSION_1_8\r\n    }\r\n    packagingOptions {\r\n        exclude 'META-INF/services/javax.annotation.processing.Processor'\r\n    }\r\n    lintOptions {\r\n        abortOnError false\r\n        disable 'InvalidPackage'\r\n    }\r\n    retrolambda {\r\n        jvmArgs '-noverify'\r\n    }\r\n```\r\n I Have RxJava if related:\r\n```java\r\n-keep class rx.schedulers.Schedulers {\r\n    public static <methods>;\r\n}\r\n-keep class rx.schedulers.ImmediateScheduler {\r\n    public <methods>;\r\n}\r\n-keep class rx.schedulers.TestScheduler {\r\n    public <methods>;\r\n}\r\n-keep class rx.schedulers.Schedulers {\r\n    public static ** test();\r\n}\r\n-keepclassmembers class rx.internal.util.unsafe.*ArrayQueue*Field* {\r\n    long producerIndex;\r\n    long consumerIndex;\r\n}\r\n-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueProducerNodeRef {\r\n    long producerNode;\r\n    long consumerNode;\r\n}\r\n-dontwarn sun.misc.Unsafe\r\n```"},"comment":{"url":"https://api.github.com/repos/evant/gradle-retrolambda/issues/comments/262222488","html_url":"https://github.com/evant/gradle-retrolambda/issues/220#issuecomment-262222488","issue_url":"https://api.github.com/repos/evant/gradle-retrolambda/issues/220","id":262222488,"user":{"login":"jemshit","id":1948828,"avatar_url":"https://avatars.githubusercontent.com/u/1948828?v=3","gravatar_id":"","url":"https://api.github.com/users/jemshit","html_url":"https://github.com/jemshit","followers_url":"https://api.github.com/users/jemshit/followers","following_url":"https://api.github.com/users/jemshit/following{/other_user}","gists_url":"https://api.github.com/users/jemshit/gists{/gist_id}","starred_url":"https://api.github.com/users/jemshit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jemshit/subscriptions","organizations_url":"https://api.github.com/users/jemshit/orgs","repos_url":"https://api.github.com/users/jemshit/repos","events_url":"https://api.github.com/users/jemshit/events{/privacy}","received_events_url":"https://api.github.com/users/jemshit/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T11:56:09Z","updated_at":"2016-11-22T11:56:09Z","body":"My bad, i enabled proguard but forgot to link to rules file `proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'` "}}
{"actor":{"display_login":"jemshit"}}