diff --git a/README.md b/README.md index 22e0fb8..e59c3a6 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,8 @@ [book]: https://book.sukazyo.cc/morny -[tg-account]: https://t.me/morny_cono_annie_bot -[issues]: https://github.com/Eyre-S/Coeur-Morny-Cono/issues -[todo]: https://github.com/users/Eyre-S/projects/1 -[artifact]: https://mvn.sukazyo.cc/#/releases/cc/sukazyo/morny-coeur - -[scala]: https://www.scala-lang.org/ -[spotbugs]: https://spotbugs.github.io/ -[tg4j]: https://github.com/pengrad/java-telegram-bot-api -[okhttp]: https://square.github.io/okhttp/ -[gson]: https://github.com/google/gson -[scalatest]: https://scalatest.org/ +[//]: # ([tg-account]: https://t.me/morny_cono_annie_bot) +[//]: # ([issues]: https://github.com/Eyre-S/Coeur-Morny-Cono/issues) +[//]: # ([todo]: https://github.com/users/Eyre-S/projects/1) +[//]: # ([artifact]: https://mvn.sukazyo.cc/#/releases/cc/sukazyo/morny-coeur)
@@ -21,9 +14,23 @@ 一个 telegram 上的服侍 A.C.Sukazyo Eyre 和它的花宫成员的 bot 内核 -[Task Listing][todo] | [~~BBS~~][issues] | [Published][artifact] +[//]: # ([Task Listing][todo] | [~~BBS~~][issues] | [Published][artifact]) +[badge_release_img]: https://img.shields.io/github/v/release/Eyre-S/Coeur-Morny-Cono?display_name=release&label=latest&color=#00fa9a +[badge_release_target]: https://mvn.sukazyo.cc/#/releases/cc/sukazyo/morny-coeur +[badge_tests_img]: https://img.shields.io/github/actions/workflow/status/Eyre-S/Coeur-Morny-Cono/test?label=Tests&color=dark-green +[badge_snapshot_img]: https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fmvn.sukazyo.cc%2Fsnapshots%2Fcc%2Fsukazyo%2Fmorny-coeur%2Fmaven-metadata.xml&label=snapshots&color=%231e90ff +[badge_snapshot_target]: https://mvn.sukazyo.cc/#/snapshots/cc/sukazyo/morny-coeur +[![GitHub release][badge_release_img]][badge_release_target] +![GitHub Workflow Status of test][badge_tests_img] +[![Maven metadata of snapshots][badge_snapshot_img]][badge_snapshot_target] -**[说明书][book] | [FindInTelegram][tg-account]** +[//]: # (**[说明书][book] | [FindInTelegram][tg-account]**) +[badge_handbook_img]: https://img.shields.io/website?url=https%3A%2F%2Fbook.sukazyo.cc%2Fmorny&up_message=0.8.0.11*PUTIAN&up_color=7b68ee&down_message=%E4%B8%8D%E5%8F%AF%E7%94%A8&down_color=dc143c&label=%E8%AF%B4%E6%98%8E%E4%B9%A6 +[badge_handbook_target]: https://book.sukazyo.cc/morny +[badge_telegram_img]: https://img.shields.io/website?url=https%3A%2F%2Ft.me%2Fmorny_cono_annie_bot&up_message=%40morny_cono_annie_bot&up_color=28a8ea&down_message=unavailable&down_color=red&logo=telegram&label=Telegram +[badge_telegram_target]: https://t.me/morny_cono_annie_bot +[![Handbook][badge_handbook_img]][badge_handbook_target] +[![Telegram][badge_telegram_img]][badge_telegram_target]
@@ -33,10 +40,20 @@ ### Libraries Used +[scala]: https://www.scala-lang.org/ +[spotbugs]: https://spotbugs.github.io/ +[tg4j]: https://github.com/pengrad/java-telegram-bot-api +[okhttp]: https://square.github.io/okhttp/ +[gson]: https://github.com/google/gson +[sttp]: https://github.com/softwaremill/sttp +[circe]: https://circe.github.io/circe/ +[jsoup]: https://jsoup.org/ +[cron-utils]: http://cron-parser.com/ +[scalatest]: https://scalatest.org/ + [Java Telegram Bot API][tg4j] - -[okhttp] | [Gson][gson] +[sttp] | [okhttp] | [Gson] | [circe] | [jsoup] | [cron-utils] [Scala][scala] | [SpotBugs Annotations][spotbugs] | [ScalaTest][scalatest] diff --git a/build.sbt b/build.sbt index 654d5ba..2146b44 100644 --- a/build.sbt +++ b/build.sbt @@ -1,3 +1,5 @@ +aether.AetherKeys.aetherOldVersionMethod := true + ThisBuild / organization := "cc.sukazyo" ThisBuild / organizationName := "A.C. Sukazyo Eyre" diff --git a/project/MornyConfiguration.scala b/project/MornyConfiguration.scala index 4653ae8..392e91a 100644 --- a/project/MornyConfiguration.scala +++ b/project/MornyConfiguration.scala @@ -8,7 +8,7 @@ object MornyConfiguration { val MORNY_CODE_STORE = "https://github.com/Eyre-S/Coeur-Morny-Cono" val MORNY_COMMIT_PATH = "https://github.com/Eyre-S/Coeur-Morny-Cono/commit/%s" - val VERSION = "2.0.0-alpha1" + val VERSION = "2.0.0-alpha1.1" val VERSION_DELTA: Option[String] = None val CODENAME = "guanggu" @@ -51,7 +51,7 @@ object MornyConfiguration { case true => Some("-ws-snapshots" at "https://mvn.sukazyo.cc/snapshots") case false => Some("-ws-releases" at "https://mvn.sukazyo.cc/releases") } -// Some(Resolver.file("build", file("./target/artifacts"))) +// Some(Resolver.file("build", file("S:/__tests/artifacts"))) // None } val publishCredentials: Seq[Credentials] = { diff --git a/project/plugins.sbt b/project/plugins.sbt index 642bf42..ab8db93 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,3 +1,5 @@ +addSbtPlugin("no.arktekk.sbt" % "aether-deploy" % "0.29.1") + addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0") addSbtPlugin("com.github.sbt" % "sbt-git" % "2.0.1") addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.1.5")