Skip to content

Commit

Permalink
Migrate to JGitVer Plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ihostage committed Jun 3, 2021
1 parent 528ceef commit 24c2c5a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import fr.brouillard.oss.jgitver.Strategies.MAVEN
import java.time.Duration

plugins {
kotlin("jvm") version Versions.kotlin apply false
id("io.github.gradle-nexus.publish-plugin") version Versions.`publish-plugin`
id("fr.brouillard.oss.gradle.jgitver") version Versions.jgitver
jacoco
base
}

allprojects {
group = "org.taymyr.lagom"
version = "1.3.0-SNAPSHOT"
repositories {
mavenCentral()
}
Expand All @@ -23,6 +24,10 @@ subprojects {
}
}

jgitver {
strategy(MAVEN)
}

nexusPublishing {
packageGroup.set("org.taymyr")
clientTimeout.set(Duration.ofMinutes(60))
Expand Down
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ object Versions {
const val lombok = "4.1.6"
const val `scalafmt-plugin` = "1.13.0"
const val scalatest = "3.1.1"
const val jgitver = "0.9.1"
}

0 comments on commit 24c2c5a

Please sign in to comment.