Skip to content

Commit fbb582c

Browse files
committed
Update template docs, Lazy provide version to bintray
Signed-off-by: JunHyung Lim <entrypointkr@gmail.com>
1 parent 29fb8eb commit fbb582c

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Spigradle
1+
# Spigradle &middot; [ ![Download](https://api.bintray.com/packages/entrypointkr/Spigradle/spigradle/images/download.svg?version=latest)](https://bintray.com/entrypointkr/Spigradle/spigradle/_latestVersion) [![License](https://img.shields.io/github/license/EntryPointKR/Spigradle.svg)](https://github.com/EntryPointKR/Spigradle/blob/master/LICENSE)
22

33
[comment]: <> (!! Do not edit this file but 'docs/templates' or 'docs/root-templates', See [CONTRIBUTING.md] !!)
44

buildSrc/src/main/kotlin/spigradle-publish.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ bintray {
2828
issueTrackerUrl = "https://github.com/EntryPointKR/Spigradle/issues"
2929
setLicenses("Apache-2.0")
3030
vcsUrl = spigradleVcsUrl
31-
version.apply {
31+
}
32+
project.afterEvaluate {
33+
pkg.version.apply {
3234
name = project.version.toString()
3335
released = Date().toString()
3436
vcsTag = project.version.toString()

docs/root-templates/template_README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Spigradle
1+
# Spigradle &middot; [ ![Download](https://api.bintray.com/packages/entrypointkr/Spigradle/spigradle/images/download.svg?version=latest)](https://bintray.com/entrypointkr/Spigradle/spigradle/_latestVersion) [![License](https://img.shields.io/github/license/EntryPointKR/Spigradle.svg)](https://github.com/EntryPointKR/Spigradle/blob/master/LICENSE)
22

33
An intelligent Gradle plugin used to develop plugins for Spigot, Bungeecord and NukkitX.
44

0 commit comments

Comments
 (0)