Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Constants for Groovy code #6

@bkodirov

Description

@bkodirov

I believe if you use constants in your gradle scripts instead of this

compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'

Build script would be less error prone.
You can store them in the gradle.properties file for example
And use like below

compile "com.android.support:recyclerview-v7:$depAndroidSupportVersion"
compile "com.android.support:design:$depAndroidSupportVersion"
compile "com.android.support:recyclerview-v7:$depAndroidSupportVersion"
compile "com.android.support:cardview-v7:$depAndroidSupportVersion"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions