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
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%")}"
}-
run task generateDataForPlugin that will generate json with versions inside plugin module
-
update/deploy android-standard-version-plugin by running task updateArchives from plugin module