Move to setting maven version via SupporLibrary extension.
Test: ./gradlew createArchive
Change-Id: Ifa145712bc3b68ef561d8d7f9e21e97c79b705d1
diff --git a/dynamic-animation/build.gradle b/dynamic-animation/build.gradle
index e5ecdd2..5069a73 100644
--- a/dynamic-animation/build.gradle
+++ b/dynamic-animation/build.gradle
@@ -1,4 +1,5 @@
import android.support.LibraryGroups
+import android.support.LibraryVersions
plugins {
id("SupportAndroidLibraryPlugin")
@@ -22,6 +23,7 @@
supportLibrary {
name = "Android Support DynamicAnimation"
publish = true
+ mavenVersion = LibraryVersions.SUPPORT_LIBRARY
mavenGroup = LibraryGroups.SUPPORT
inceptionYear = "2017"
description = "Physics-based animation in support library, where the animations are driven by physics force. You can use this Animation library to create smooth and realistic animations."