diff --git a/build.gradle b/build.gradle index 160cb2cf..a82ebe5c 100644 --- a/build.gradle +++ b/build.gradle @@ -27,17 +27,6 @@ subprojects { maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } } - publishing { - publications { - maven(MavenPublication) { - groupId = project.group - version = project.version - artifactId = project.name - from components.java - } - } - } - /* task sourcesJar(type: Jar, dependsOn: classes) { classifier = 'sources' diff --git a/hCore-bukkit/core/build.gradle b/hCore-bukkit/core/build.gradle index 15161b7e..cc04a60f 100644 --- a/hCore-bukkit/core/build.gradle +++ b/hCore-bukkit/core/build.gradle @@ -96,3 +96,14 @@ tasks.compileJava.dependsOn( ':hCore-bukkit:nms:v1_20_R2:jar', ':hCore-bukkit:nms:v1_20_R2:shadowJar', ) + +publishing { + publications { + maven(MavenPublication) { + groupId = 'com.hakan.hcore' + artifactId = 'bukkit-core' + version = project.version + from components.java + } + } +} diff --git a/hCore-bungee/core/build.gradle b/hCore-bungee/core/build.gradle index 130d20b2..548bd5a3 100644 --- a/hCore-bungee/core/build.gradle +++ b/hCore-bungee/core/build.gradle @@ -7,3 +7,14 @@ tasks.compileJava.dependsOn( ':hCore-bungee:api:jar', ':hCore-bungee:api:shadowJar', ) + +publishing { + publications { + maven(MavenPublication) { + groupId = 'com.hakan.hcore' + artifactId = 'bungee-core' + version = project.version + from components.java + } + } +}