Skip to content

Android: Gradle injection (#41) does not support Kotlin-DSL projects; Unity 2022/6 layouts unverified #48

Open

Description

@krassx

The Maven-dependency injector added in #41 edits Groovy build.gradle / settings.gradle text. A project whose Gradle files use the Kotlin DSL fails the build with an explicit error (by design, rather than producing an app without Bugsee). Unity 2022 and Unity 6 layouts were only covered by tests: only Unity 2021.3.45 was available to build with.

To do: build the sample on Unity 2022 LTS and Unity 6, and decide whether to support .gradle.kts.

🤖 Generated with Claude Code

Activity

  1. added 2 commits that reference this issue on Oct 14, 2026
    0c59c3c
    48e1ce2
  2. krassx commented on Oct 14, 2026

    @krassx
    ContributorAuthor

    #67 merged: the injector now handles Kotlin-DSL (.kts) files, repositoriesMode (PREFER_SETTINGS / FAIL_ON_PROJECT_REPOS) and several declaration-detection edge cases, with fixtures. Still open: the Unity 2022.3 and Unity 6 layouts are reconstructed from vendor docs, not from a real generated project (only Unity 2021.3.45f1 is installed here). Keeping this open until the sample is built on Unity 2022 LTS and Unity 6 and the real templates are compared.

    🤖 Generated with Claude Code

  3. added a commit that references this issue on Oct 15, 2026
  4. krassx commented on Oct 15, 2026

    @krassx
    ContributorAuthor

    Update: Unity 2022.3.62f3 is now verified with real builds (clean APK, Export Project, full-symbols opt-in, emulator launch): AGP 7.4.2 / Gradle 7.5.1, the Bugsee Gradle plugin is skipped as designed. Real generated files are fixtures in #81/#82 (merged), Unity 6 in #78/#80, and #83 recovers build-id and symbol-upload functionality on AGP < 8.6. Still open: a real Kotlin-DSL layout and AGP 8.0-8.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions