{"action":"created","issue":{"url":"https://api.github.com/repos/yigit/android-priority-jobqueue/issues/341","repository_url":"https://api.github.com/repos/yigit/android-priority-jobqueue","labels_url":"https://api.github.com/repos/yigit/android-priority-jobqueue/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/yigit/android-priority-jobqueue/issues/341/comments","events_url":"https://api.github.com/repos/yigit/android-priority-jobqueue/issues/341/events","html_url":"https://github.com/yigit/android-priority-jobqueue/issues/341","id":219195731,"node_id":"MDU6SXNzdWUyMTkxOTU3MzE=","number":341,"title":"Build failed using ProGuard and Gradle","user":{"login":"burton999dev","id":8707881,"node_id":"MDQ6VXNlcjg3MDc4ODE=","avatar_url":"https://avatars0.githubusercontent.com/u/8707881?v=4","gravatar_id":"","url":"https://api.github.com/users/burton999dev","html_url":"https://github.com/burton999dev","followers_url":"https://api.github.com/users/burton999dev/followers","following_url":"https://api.github.com/users/burton999dev/following{/other_user}","gists_url":"https://api.github.com/users/burton999dev/gists{/gist_id}","starred_url":"https://api.github.com/users/burton999dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burton999dev/subscriptions","organizations_url":"https://api.github.com/users/burton999dev/orgs","repos_url":"https://api.github.com/users/burton999dev/repos","events_url":"https://api.github.com/users/burton999dev/events{/privacy}","received_events_url":"https://api.github.com/users/burton999dev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"yigit","id":89202,"node_id":"MDQ6VXNlcjg5MjAy","avatar_url":"https://avatars0.githubusercontent.com/u/89202?v=4","gravatar_id":"","url":"https://api.github.com/users/yigit","html_url":"https://github.com/yigit","followers_url":"https://api.github.com/users/yigit/followers","following_url":"https://api.github.com/users/yigit/following{/other_user}","gists_url":"https://api.github.com/users/yigit/gists{/gist_id}","starred_url":"https://api.github.com/users/yigit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yigit/subscriptions","organizations_url":"https://api.github.com/users/yigit/orgs","repos_url":"https://api.github.com/users/yigit/repos","events_url":"https://api.github.com/users/yigit/events{/privacy}","received_events_url":"https://api.github.com/users/yigit/received_events","type":"User","site_admin":false},"assignees":[{"login":"yigit","id":89202,"node_id":"MDQ6VXNlcjg5MjAy","avatar_url":"https://avatars0.githubusercontent.com/u/89202?v=4","gravatar_id":"","url":"https://api.github.com/users/yigit","html_url":"https://github.com/yigit","followers_url":"https://api.github.com/users/yigit/followers","following_url":"https://api.github.com/users/yigit/following{/other_user}","gists_url":"https://api.github.com/users/yigit/gists{/gist_id}","starred_url":"https://api.github.com/users/yigit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yigit/subscriptions","organizations_url":"https://api.github.com/users/yigit/orgs","repos_url":"https://api.github.com/users/yigit/repos","events_url":"https://api.github.com/users/yigit/events{/privacy}","received_events_url":"https://api.github.com/users/yigit/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-04-04T09:48:34Z","updated_at":"2018-09-11T08:08:57Z","closed_at":null,"author_association":"NONE","body":"I'm using ProGuard v5.3.2.\r\nI resolved this issue to add the proguard settings.\r\n\r\n`-keep interface com.birbit.android.jobqueue.** { *; }`\r\n\r\nI'm not sure this solution is best.\r\nIt would be great if the proguard file is officially provided.\r\n\r\nStacktrace:\r\n```\r\n org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformClassesAndResourcesWithProguardForFreeProductRelease'.\r\n \tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:84)\r\n \tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:55)\r\n \tat org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)\r\n \tat org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)\r\n \tat org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)\r\n \tat org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:46)\r\n \tat org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)\r\n \tat org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)\r\n \tat org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)\r\n \tat org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)\r\n \tat org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:236)\r\n \tat org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:228)\r\n \tat org.gradle.internal.Transformers$4.transform(Transformers.java:169)\r\n \tat org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)\r\n \tat org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61)\r\n \tat org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:228)\r\n \tat org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:215)\r\n \tat org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:77)\r\n \tat org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:58)\r\n \tat org.gradle.execution.taskgraph.ParallelTaskPlanExecutor.process(ParallelTaskPlanExecutor.java:50)\r\n \tat org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:113)\r\n \tat org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)\r\n \tat org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)\r\n \tat org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)\r\n \tat org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)\r\n \tat org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)\r\n \tat org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)\r\n \tat org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)\r\n \tat org.gradle.initialization.DefaultGradleLauncher$3.execute(DefaultGradleLauncher.java:196)\r\n \tat org.gradle.initialization.DefaultGradleLauncher$3.execute(DefaultGradleLauncher.java:193)\r\n \tat org.gradle.internal.Transformers$4.transform(Transformers.java:169)\r\n \tat org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)\r\n \tat org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)\r\n \tat org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:193)\r\n \tat org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:119)\r\n \tat org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:102)\r\n \tat org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:71)\r\n \tat org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)\r\n \tat org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)\r\n \tat org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)\r\n \tat org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)\r\n \tat org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)\r\n \tat org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)\r\n \tat org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:44)\r\n \tat org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:29)\r\n \tat org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)\r\n \tat org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\r\n \tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n \tat org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:47)\r\n \tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n \tat org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)\r\n \tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n \tat org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)\r\n \tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n \tat org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)\r\n \tat org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)\r\n \tat org.gradle.util.Swapper.swap(Swapper.java:38)\r\n \tat org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)\r\n \tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n \tat org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:50)\r\n \tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n \tat org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)\r\n \tat org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\r\n \tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n \tat org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)\r\n \tat org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\r\n \tat org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n \tat org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)\r\n \tat org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)\r\n \tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)\r\n \tat org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)\r\n Caused by: java.lang.RuntimeException: Job failed, see logs for details\r\n \tat com.android.build.gradle.internal.transforms.ProGuardTransform.transform(ProGuardTransform.java:196)\r\n \tat com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:185)\r\n \tat com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:181)\r\n \tat com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:102)\r\n \tat com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:176)\r\n \tat org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)\r\n \tat org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:163)\r\n \tat org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)\r\n \tat org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:123)\r\n \tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:95)\r\n \tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:76)\r\n \t... 70 more\r\n Caused by: java.io.IOException: java.lang.IllegalArgumentException: Stack size becomes negative after instruction [149] invokestatic #42 in [com/birbit/android/jobqueue/Job.safeRun(Lcom/birbit/android/jobqueue/JobHolder;ILcom/birbit/android/jobqueue/timer/Timer;)I]\r\n \tat com.android.build.gradle.internal.transforms.ProGuardTransform.doMinification(ProGuardTransform.java:283)\r\n \tat com.android.build.gradle.internal.transforms.ProGuardTransform.access$000(ProGuardTransform.java:63)\r\n \tat com.android.build.gradle.internal.transforms.ProGuardTransform$1.run(ProGuardTransform.java:173)\r\n \tat com.android.builder.tasks.Job.runTask(Job.java:48)\r\n \tat com.android.build.gradle.tasks.SimpleWorkQueue$EmptyThreadContext.runTask(SimpleWorkQueue.java:41)\r\n \tat com.android.builder.tasks.WorkQueue.run(WorkQueue.java:225)\r\n Caused by: java.lang.IllegalArgumentException: Stack size becomes negative after instruction [149] invokestatic #42 in [com/birbit/android/jobqueue/Job.safeRun(Lcom/birbit/android/jobqueue/JobHolder;ILcom/birbit/android/jobqueue/timer/Timer;)I]\r\n \tat proguard.classfile.attribute.visitor.StackSizeComputer.evaluateInstructionBlock(StackSizeComputer.java:349)\r\n \tat proguard.classfile.attribute.visitor.StackSizeComputer.visitExceptionInfo(StackSizeComputer.java:277)\r\n \tat proguard.classfile.attribute.CodeAttribute.exceptionsAccept(CodeAttribute.java:153)\r\n \tat proguard.classfile.attribute.visitor.StackSizeComputer.visitCodeAttribute0(StackSizeComputer.java:166)\r\n \tat proguard.classfile.attribute.visitor.StackSizeComputer.visitCodeAttribute(StackSizeComputer.java:125)\r\n \tat proguard.classfile.editor.StackSizeUpdater.visitCodeAttribute(StackSizeUpdater.java:49)\r\n \tat proguard.classfile.editor.MemberReferenceFixer.visitCodeAttribute(MemberReferenceFixer.java:322)\r\n \tat proguard.classfile.attribute.CodeAttribute.accept(CodeAttribute.java:101)\r\n \tat proguard.classfile.ProgramMethod.attributesAccept(ProgramMethod.java:81)\r\n \tat proguard.classfile.editor.MemberReferenceFixer.visitProgramMember(MemberReferenceFixer.java:285)\r\n \tat proguard.classfile.util.SimplifiedVisitor.visitProgramMethod(SimplifiedVisitor.java:92)\r\n \tat proguard.classfile.ProgramMethod.accept(ProgramMethod.java:73)\r\n \tat proguard.classfile.ProgramClass.methodsAccept(ProgramClass.java:516)\r\n \tat proguard.classfile.editor.MemberReferenceFixer.visitProgramClass(MemberReferenceFixer.java:82)\r\n \tat proguard.classfile.ProgramClass.accept(ProgramClass.java:358)\r\n \tat proguard.classfile.ClassPool.classesAccept(ClassPool.java:124)\r\n \tat proguard.optimize.Optimizer.execute(Optimizer.java:578)\r\n \tat proguard.ProGuard.optimize(ProGuard.java:328)\r\n \tat proguard.ProGuard.execute(ProGuard.java:127)\r\n \tat com.android.build.gradle.internal.transforms.BaseProguardAction.runProguard(BaseProguardAction.java:54)\r\n \tat com.android.build.gradle.internal.transforms.ProGuardTransform.doMinification(ProGuardTransform.java:254)\r\n \t... 5 more\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/yigit/android-priority-jobqueue/issues/comments/420186005","html_url":"https://github.com/yigit/android-priority-jobqueue/issues/341#issuecomment-420186005","issue_url":"https://api.github.com/repos/yigit/android-priority-jobqueue/issues/341","id":420186005,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDE4NjAwNQ==","user":{"login":"guillerodriguez","id":2486184,"node_id":"MDQ6VXNlcjI0ODYxODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2486184?v=4","gravatar_id":"","url":"https://api.github.com/users/guillerodriguez","html_url":"https://github.com/guillerodriguez","followers_url":"https://api.github.com/users/guillerodriguez/followers","following_url":"https://api.github.com/users/guillerodriguez/following{/other_user}","gists_url":"https://api.github.com/users/guillerodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/guillerodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guillerodriguez/subscriptions","organizations_url":"https://api.github.com/users/guillerodriguez/orgs","repos_url":"https://api.github.com/users/guillerodriguez/repos","events_url":"https://api.github.com/users/guillerodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/guillerodriguez/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T08:08:57Z","updated_at":"2018-09-11T08:08:57Z","author_association":"NONE","body":"BTW I did not need to add `-keep interface com.birbit.android.jobqueue.** { *; }` ; my build does not fail if I leave that out."}}
{"actor":{"display_login":"guillerodriguez"}}