{"id":16351384,"url":"https://github.com/autonomousapps/composite-build-as36-issue","last_synced_at":"2025-10-05T15:47:13.769Z","repository":{"id":73392939,"uuid":"234200036","full_name":"autonomousapps/composite-build-as36-issue","owner":"autonomousapps","description":"Reproduces an issue with Gradle composite builds and building from AS 3.6 RC 1","archived":false,"fork":false,"pushed_at":"2020-01-16T00:32:01.000Z","size":133,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-28T15:29:36.665Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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":"2020-01-16T00:22:55.000Z","updated_at":"2020-12-03T15:20:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"eba569d9-ebac-4913-8197-09ae0b67c055","html_url":"https://github.com/autonomousapps/composite-build-as36-issue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autonomousapps%2Fcomposite-build-as36-issue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autonomousapps%2Fcomposite-build-as36-issue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autonomousapps%2Fcomposite-build-as36-issue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autonomousapps%2Fcomposite-build-as36-issue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autonomousapps","download_url":"https://codeload.github.com/autonomousapps/composite-build-as36-issue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239605127,"owners_count":19666996,"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","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:18.741Z","updated_at":"2025-10-05T15:47:08.745Z","avatar_url":"https://github.com/autonomousapps.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repo reproduces an issue with Android Studio and Gradle's composite build feature. \nSpecifically, the \"separate composite build\" approach discussed at https://docs.gradle.org/current/userguide/composite_builds.html#separate_composite.\n\n# To reproduce:\n1. Open `composite/build.gradle` in AS 3.6 RC 1 (and maybe other versions)\n2. Attempt to build with the green arrow.\n\n# Expected\nProject builds.\n\n# Observed\nProject fails to compile with error\n\u003e e: /path/to/composite/CompositeConsumer/app/src/main/java/com/example/compositeconsumer/MainActivity.kt: (13, 19): Unresolved reference: hello\n\n# Notes\nEven though the project fails to build from AS, the IDE nevertheless offers code completion, as expected.\n\nYou can successfully build the project by running, from the command line in the `composite` project, `./gradlew installDebug`.\nThis builds and installs the app on a device.\n\nYou can also successfully build the project, from AS, by un-commenting line 5 in `CompositeConsumer/settings.gradle`.\nWhat this indicates is that, while \"separate composite builds\" don't seem to work, other composite builds seem to work fine.\n\nThese facts lead me to believe this is an Android Studio bug, as opposed to a Gradle bug.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautonomousapps%2Fcomposite-build-as36-issue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautonomousapps%2Fcomposite-build-as36-issue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautonomousapps%2Fcomposite-build-as36-issue/lists"}