load("//tools/bzl:maven_jar.bzl", "GERRIT", "MAVEN_CENTRAL", "MAVEN_LOCAL", "maven_jar")

COMMONMARK_VERSION = "0.9.0"

def external_plugin_deps():
    maven_jar(
        name = "gitiles-servlet",
        artifact = "com.google.gitiles:gitiles-servlet:0.2-5",
        sha1 = "18186bd83a8c52a4a965472fcb9b4ea87862eb35",
        repository = GERRIT,
    )

    # prettify must match the version used in Gitiles
    maven_jar(
        name = "prettify",
        artifact = "com.github.twalcari:java-prettify:1.2.2",
        sha1 = "b8ba1c1eb8b2e45cfd465d01218c6060e887572e",
    )

    maven_jar(
        name = "commons-lang3",
        artifact = "org.apache.commons:commons-lang3:3.7",
        sha1 = "557edd918fd41f9260963583ebf5a61a43a6b423",
    )

    # commonmark must match the version used in Gitiles
    maven_jar(
        name = "commonmark",
        artifact = "com.atlassian.commonmark:commonmark:" + COMMONMARK_VERSION,
        sha1 = "4eb11e3f9aaecafc6073b84c15f66376ef8dc5d3",
    )

    maven_jar(
        name = "cm-autolink",
        artifact = "com.atlassian.commonmark:commonmark-ext-autolink:" + COMMONMARK_VERSION,
        sha1 = "b81d7f0e2bdb987d3f447f3e92756bcdbb5ff537",
    )

    maven_jar(
        name = "autolink",
        artifact = "org.nibor.autolink:autolink:0.6.0",
        sha1 = "3986d016a14e8c81afeec752f19af29b20e8367b",
    )

    maven_jar(
        name = "gfm-strikethrough",
        artifact = "com.atlassian.commonmark:commonmark-ext-gfm-strikethrough:" + COMMONMARK_VERSION,
        sha1 = "d6814aac1a6aaa473c0c3ef0a23bfff8836d1e67",
    )

    maven_jar(
        name = "gfm-tables",
        artifact = "com.atlassian.commonmark:commonmark-ext-gfm-tables:" + COMMONMARK_VERSION,
        sha1 = "4c8a93ef905ef8fc35d6379965641a980d67e304",
    )

@@ -107,17 +107,18 @@
 ON = %220.
-9
+10
 .0%22%0A%0Adef
@@ -945,48 +945,48 @@
  = %22
-4eb11e3f9aaecafc6073b84c15f66376ef8dc5d3
+119cb7bedc3570d9ecb64ec69ab7686b5c20559b
 %22,%0A 
@@ -1149,48 +1149,48 @@
  = %22
-b81d7f0e2bdb987d3f447f3e92756bcdbb5ff537
+a6056a5efbd68f57d420bc51bbc54b28a5d3c56b
 %22,%0A 
@@ -1287,17 +1287,17 @@
 olink:0.
-6
+7
 .0%22,%0A   
@@ -1313,48 +1313,48 @@
  = %22
-3986d016a14e8c81afeec752f19af29b20e8367b
+649f9f13422cf50c926febe6035662ae25dc89b2
 %22,%0A 
@@ -1532,48 +1532,48 @@
  = %22
-d6814aac1a6aaa473c0c3ef0a23bfff8836d1e67
+40837da951b421b545edddac57012e15fcc9e63c
 %22,%0A 
@@ -1737,48 +1737,48 @@
  = %22
-4c8a93ef905ef8fc35d6379965641a980d67e304
+c075db2a3301100cf70c7dced8ecf86b494458a2
 %22,%0A 

Upgrade commonmark to 0.10.0