Revert "trying to add new plugin for publishing"

This reverts commit 1bf479a0b7.
This commit is contained in:
2025-05-15 21:17:56 +06:00
parent 1bf479a0b7
commit 1ae1f8dee2
4 changed files with 2 additions and 13 deletions

View File

@@ -1,7 +1,4 @@
apply plugin: 'maven-publish'
apply plugin: 'com.vanniktech.maven.publish'
mavenPublishing {}
task javadocJar(type: Jar) {
from javadoc
@@ -86,7 +83,7 @@ publishing {
if ((project.hasProperty('SONATYPE_USER') || System.getenv('SONATYPE_USER') != null) && (project.hasProperty('SONATYPE_PASSWORD') || System.getenv('SONATYPE_PASSWORD') != null)) {
maven {
name = "sonatype"
url = uri("https://central.sonatype.com/api/v1")
url = uri("https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/")
credentials {
username = project.hasProperty('SONATYPE_USER') ? project.property('SONATYPE_USER') : System.getenv('SONATYPE_USER')