Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit a5219508 authored by Rafael Tonholo's avatar Rafael Tonholo
Browse files

chore: remove META-INF/*.version from exclude list on non-release build types

This fix the issue with Android Studio Layout Inspector not working as it could not find the Compose version.
parent 5f4703a6
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -185,7 +185,6 @@ android {
        resources {
            excludes += listOf(
                "META-INF/*.kotlin_module",
                "META-INF/*.version",
                "kotlin/**",
                "DebugProbesKt.bin",
            )
@@ -193,6 +192,14 @@ android {
    }
}

androidComponents {
    onVariants(selector().withBuildType("release")) { variant ->
        variant.packaging.resources.excludes.addAll(
            "META-INF/*.version",
        )
    }
}

// Initialize placeholders for the product flavor and build type combinations needed for dependency declarations.
// They are required to avoid "Unresolved configuration" errors.
val fullDebugImplementation by configurations.creating