Skip to content

Latest commit

 

History

History

README.md

Android-Standard version plugin

There are two types of versions:

  • main version of all repository
  • version of specific library/module

This plugin provide specific library version from Android-Standard based on main Android-Standard version by library name

Usage

build.gradle(root)

buildscript {
    repositories {
        
        maven { url 'https://artifactory.surfstudio.ru/artifactory/libs-release-local' }
    }

    dependencies {
        classpath 'ru.surfstudio.android:version-plugin:%ANDROID-STANDARD-VERSION-HERE%'
    }
}

build.gradle(app)

apply plugin: 'ru.surfstudio.android'

dependencies {
    implementation "ru.surfstudio.android:%ARTIFACT-ID-HERE%:${androidStandard.version("%ARTIFACT-ID-HERE%")}"
}

How to deploy/update this plugin? (for internal usage)

  1. run task generateDataForPlugin that will generate json with versions inside plugin module

  2. update/deploy android-standard-version-plugin by running task updateArchives from plugin module