Skip to content

Commit

Permalink
fix: Maybe fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Berstanio committed Jan 18, 2025
1 parent bd0f4e6 commit 4f4532c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ val repositoryUsername: String
val repositoryPassword: String
get() = project.findProperty("MAVEN_PASSWORD")?.toString() ?: ""

group = property("group") as String
version = property("version") as String + if (isReleaseBuild) "" else "-SNAPSHOT"

val jnigenVersion = property("jnigen.version") as String

dependencies {
Expand Down Expand Up @@ -204,6 +201,9 @@ allprojects {
apply(plugin = "maven-publish")
apply(plugin = "signing")

group = property("group") as String
version = property("version") as String + if (isReleaseBuild) "" else "-SNAPSHOT"

repositories {
mavenCentral()
maven {
Expand Down

0 comments on commit 4f4532c

Please sign in to comment.