Skip to content

Commit

Permalink
remove maven publishing system from all subprojects
Browse files Browse the repository at this point in the history
  • Loading branch information
hakan-krgn committed Nov 2, 2023
1 parent 9bd49a3 commit 613099c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 11 deletions.
11 changes: 0 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
11 changes: 11 additions & 0 deletions hCore-bukkit/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
11 changes: 11 additions & 0 deletions hCore-bungee/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}

0 comments on commit 613099c

Please sign in to comment.