Skip to content

Commit

Permalink
Set group and version of subprojects
Browse files Browse the repository at this point in the history
  • Loading branch information
DevNatan committed Apr 23, 2024
1 parent e5e48b2 commit 2785d3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ plugins {

group 'me.devnatan'
version '3.0.9'

subprojects {
group = rootProject.group
version = rootProject.version
}
4 changes: 1 addition & 3 deletions publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ ext.isReleaseVersion = System.getProperty("snapshot") != "true"
publishing {
publications {
javaOSSRH(MavenPublication) {
groupId = rootProject.group
artifactId = project.name
version = rootProject.version
if (!isReleaseVersion)
version = "${version}-SNAPSHOT"
from components.java


pom {
name = 'inventory-framework'
description = 'Inventory Framework is a Bukkit Inventory API framework that allows you to create custom inventories with varied interaction treatments'
Expand Down

0 comments on commit 2785d3b

Please sign in to comment.