Example #1
0
        /// <summary>
        /// Extension method for PlayServicesSupport that calls DependOn with the specified
        /// artifact ID.
        /// </summary>
        internal static void DependOn(this PlayServicesSupport instance, PackageId artifactId,
                                      string versionSpecifier)
        {
            var info = artifactId.Info();

            instance.DependOn(info.group, info.artifact, versionSpecifier);
        }
Example #2
0
        /// <summary>
        /// Extension method of PackageId that returns a version less key for the artifact
        /// in the form "group:artifact".
        /// </summary>
        internal static string VersionlessKey(this PackageId artifactId)
        {
            var info = artifactId.Info();

            return(String.Format("{0}:{1}", info.group, info.artifact));
        }