{"action":"created","issue":{"url":"https://api.github.com/repos/JakeWharton/hugo/issues/80","repository_url":"https://api.github.com/repos/JakeWharton/hugo","labels_url":"https://api.github.com/repos/JakeWharton/hugo/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/JakeWharton/hugo/issues/80/comments","events_url":"https://api.github.com/repos/JakeWharton/hugo/issues/80/events","html_url":"https://github.com/JakeWharton/hugo/issues/80","id":60801452,"number":80,"title":"DebugLog does not work in library module","user":{"login":"curilpe","id":5584653,"avatar_url":"https://avatars.githubusercontent.com/u/5584653?v=3","gravatar_id":"","url":"https://api.github.com/users/curilpe","html_url":"https://github.com/curilpe","followers_url":"https://api.github.com/users/curilpe/followers","following_url":"https://api.github.com/users/curilpe/following{/other_user}","gists_url":"https://api.github.com/users/curilpe/gists{/gist_id}","starred_url":"https://api.github.com/users/curilpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curilpe/subscriptions","organizations_url":"https://api.github.com/users/curilpe/orgs","repos_url":"https://api.github.com/users/curilpe/repos","events_url":"https://api.github.com/users/curilpe/events{/privacy}","received_events_url":"https://api.github.com/users/curilpe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-03-12T10:56:19Z","updated_at":"2016-08-10T14:54:59Z","closed_at":"2015-04-16T09:09:45Z","body":"Project with multi-module setup (application + library)  does not log methods annotated with @DebugLog from library module. In application module it works fine.\r\n\r\nhere is example https://github.com/curilpe/hugo-test\r\n\r\nEDIT:\r\n\r\nproblem is not in hugo but in android gradle plugin because all library modules are release builds regardless of build type of application. \r\n\r\nto change it to debug build just put in build file of library module\r\n\r\nandroid {\r\n    defaultPublishConfig \"debug\"\r\n}\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JakeWharton/hugo/issues/comments/238892808","html_url":"https://github.com/JakeWharton/hugo/issues/80#issuecomment-238892808","issue_url":"https://api.github.com/repos/JakeWharton/hugo/issues/80","id":238892808,"user":{"login":"MessuKilkain","id":16500309,"avatar_url":"https://avatars.githubusercontent.com/u/16500309?v=3","gravatar_id":"","url":"https://api.github.com/users/MessuKilkain","html_url":"https://github.com/MessuKilkain","followers_url":"https://api.github.com/users/MessuKilkain/followers","following_url":"https://api.github.com/users/MessuKilkain/following{/other_user}","gists_url":"https://api.github.com/users/MessuKilkain/gists{/gist_id}","starred_url":"https://api.github.com/users/MessuKilkain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MessuKilkain/subscriptions","organizations_url":"https://api.github.com/users/MessuKilkain/orgs","repos_url":"https://api.github.com/users/MessuKilkain/repos","events_url":"https://api.github.com/users/MessuKilkain/events{/privacy}","received_events_url":"https://api.github.com/users/MessuKilkain/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T14:54:59Z","updated_at":"2016-08-10T14:54:59Z","body":"I was able to use hugo in only a specific module by using the following code in the build.gradle file of my module :\r\n\r\n\tbuildscript {\r\n\t    repositories {\r\n\t        mavenCentral()\r\n\t    }\r\n\t    dependencies {\r\n\t        classpath 'com.jakewharton.hugo:hugo-plugin:1.2.1'\r\n\t    }\r\n\t}\r\n\r\n\tapply plugin: 'com.jakewharton.hugo'\r\n\t\r\n\tandroid {\r\n\t\t[...]\r\n\t\tbuildTypes {\r\n\t\t\t[...]\r\n\t\t\tdebug {\r\n\t\t\t\tdefaultPublishConfig \"debug\"\r\n\t\t\t}\r\n\t\t}\r\n\t}"}}
{"actor":{"display_login":"MessuKilkain"}}