Skip to content

Commit

Permalink
Fix setting version
Browse files Browse the repository at this point in the history
  • Loading branch information
gavlyukovskiy authored and Breus committed Oct 8, 2023
1 parent bd34de9 commit eb16270
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ java {

description = 'High-performance JSON masker'

group 'dev.blaauwendraad'
version = project.findProperty('version') ?: '0.1.0-SNAPSHOT'
group = 'dev.blaauwendraad'

repositories {
mavenCentral()
Expand Down Expand Up @@ -46,12 +45,12 @@ java {
publishing {
publications {
mavenJava(MavenPublication) {
from components.java

groupId = project.group
artifactId = project.name
version = project.version

from components.java

pom {
name = project.name
description = project.description
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version=0.1.0-SNAPSHOT

0 comments on commit eb16270

Please sign in to comment.