Skip to content

oss-licenses-plugin forces compose material3 alpha version #421

@mobielbekeken-thijs

Description

@mobielbekeken-thijs

Describe the bug
After adding the oss-licenses-plugin to my app, an alpha version of compose material3 is used.

To Reproduce
Follow the general installation steps https://developers.google.com/android/guides/opensource

Run gradle task help > dependencies.
This will display:

+--- androidx.compose.material3:material3 -> 1.5.0-alpha17 (*)
\--- com.google.android.gms:play-services-oss-licenses:17.5.1
     +--- androidx.activity:activity:1.12.1 -> 1.13.0 (*)
     +--- androidx.activity:activity-compose:1.12.1 -> 1.13.0 (*)
     +--- androidx.compose.foundation:foundation:1.10.0 -> 1.11.0-beta02 (*)
     +--- androidx.compose.foundation:foundation-layout:1.10.0 -> 1.11.0-beta02 (*)
     +--- androidx.compose.material:material-icons-core:1.7.8
     |    \--- androidx.compose.material:material-icons-core-android:1.7.8
     |         \--- androidx.compose.ui:ui:1.6.0 -> 1.11.0-beta02 (*)
     +--- androidx.compose.material3:material3:1.5.0-alpha17 (*)

Without the library, material3 will not use this alpha version:

+--- androidx.compose.material3:material3 -> 1.4.0

Expected behavior
A stable, non-alpha version of material3 will be used.

Desktop:

  • Gradle version: 9.5.1
  • Android Studio version: Android Studio Panda 4 | 2025.3.4 Patch 1
  • Plugin name and version: OSS Licenses 17.5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions