{"id":16351415,"url":"https://github.com/autonomousapps/androiddebugloggingissue","last_synced_at":"2025-08-25T19:12:20.657Z","repository":{"id":73392893,"uuid":"169636810","full_name":"autonomousapps/AndroidDebugLoggingIssue","owner":"autonomousapps","description":"Example project when `--debug` causes Android project configuration to fail","archived":false,"fork":false,"pushed_at":"2019-02-07T20:32:48.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T22:42:00.763Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/autonomousapps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-07T20:22:55.000Z","updated_at":"2019-02-07T20:32:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"de578e8c-982f-44c3-9380-8a128afb29f3","html_url":"https://github.com/autonomousapps/AndroidDebugLoggingIssue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/autonomousapps/AndroidDebugLoggingIssue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autonomousapps%2FAndroidDebugLoggingIssue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autonomousapps%2FAndroidDebugLoggingIssue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autonomousapps%2FAndroidDebugLoggingIssue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autonomousapps%2FAndroidDebugLoggingIssue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autonomousapps","download_url":"https://codeload.github.com/autonomousapps/AndroidDebugLoggingIssue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autonomousapps%2FAndroidDebugLoggingIssue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272117863,"owners_count":24876469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T01:09:20.983Z","updated_at":"2025-08-25T19:12:20.619Z","avatar_url":"https://github.com/autonomousapps.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AndroidDebugLoggingIssue\nExample project when `--debug` causes Android project configuration to fail\n\nThis succeeds:\n```\n./gradlew :app:assembleDebug\n```\n\nThis fails:\n```\n./gradlew clean \u0026\u0026 ./gradlew :app:assembleDebug --debug\n```\n(nb: `./gradlew clean :app:assembleDebug --debug` does not always fail)\n\nThe failure looks like this:\n```\n12:24:40.914 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.\n12:24:40.914 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] \n12:24:40.914 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:\n12:24:40.914 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] A problem occurred configuring project ':library'.\n12:24:40.914 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] \u003e Could not resolve all files for configuration ':library:debugUnitTestCompileClasspath'.\n12:24:40.914 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]    \u003e Failed to transform file 'javalibrary.jar' to match attributes {artifactType=processed-jar} using transform IdentityTransform\n12:24:40.914 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]       \u003e Transform output file /home/tony/workspace/temp/DebugLogging/javalibrary/build/libs/javalibrary.jar does not exist.\n```\nThis doesn't make any sense, since there's no reason to try to resolve `:library:debugUnitTestCompileClasspath` when I'm only requesting `debug`.\n\nReproducing this problem seemed to require the following steps:\n1. An Android library project.\n1. This Android library project should have the [Android Groovy plugin](https://github.com/groovy/groovy-android-gradle-plugin) applied (use-case: Spock tests)\n   1. There must be at least one Groovy class in `android-lib/src/test/groovy` to trigger the issue.\n1. This Android library project must have one project dependency on a plain `java-library` proejct.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautonomousapps%2Fandroiddebugloggingissue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautonomousapps%2Fandroiddebugloggingissue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautonomousapps%2Fandroiddebugloggingissue/lists"}