Skip to content

Commit

Permalink
Released 0.0.3 and bump up to 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hadilq committed Nov 16, 2021
1 parent 649e75d commit 9d7c183
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
CHANGE LOG
===

## Version 0.0.3

_2021_11_15_

* Support `elvis` function.
* Support KSP, Kotlin Symbol Processing.
* Fix bugs of course!

## Version 0.0.2

_2021_01_06_
Expand Down
7 changes: 4 additions & 3 deletions buildSrc/src/main/kotlin/PublishConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ import org.gradle.plugins.signing.SigningPlugin

const val SNAPSHOT = "-SNAPSHOT"
const val GROUP_ID = "com.github.hadilq"
const val LIB_VERSION = "0.0.3"
const val LIB_VERSION = "0.1.0"

fun isSnapshot(version: String): Boolean = version.endsWith(SNAPSHOT)

private val artifactsVersion by lazy {
"$LIB_VERSION.${System.currentTimeMillis()}$SNAPSHOT"
// LIB_VERSION
}


Expand Down Expand Up @@ -112,8 +113,8 @@ fun Project.setupPublication() {

if (name == "happy-annotation") {
tasks.getByName("publish") {
doFirst {
println("Download the SNAPSHOT with: implementation(\"${GROUP_ID}:com.github.hadilq:happy-...:${artifactsVersion}\")")
doLast {
println("Download the SNAPSHOT with: implementation(\"${GROUP_ID}:happy-...:${artifactsVersion}\")")
}
}
}
Expand Down

0 comments on commit 9d7c183

Please sign in to comment.