Skip to content

Move repetitive gradle code to common file #340

@srtvprateek

Description

@srtvprateek

Problem Statement:
After the migration to Kotlin DSL, we are facing issue with moving all the common android{} changes in each module's build.gradle.kts. Due to which each file is containing redundant data.

For example:
in the below code, everything apart from namespace & resource_prefix is repetitive in all the plugin module's build.gradle.kts

Image

Expected Solution:
Need logic to move all the repetitive code to common file & reference from there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp neededExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions