diff --git a/build.gradle b/build.gradle index 39e7ddb7..dd00313b 100644 --- a/build.gradle +++ b/build.gradle @@ -56,8 +56,8 @@ ext { licences = ['Apache-2.0'] // mavenCentral - mavenVersion = '3.8.16' - mavenCentralGroupId = 'me.laoyuyu.aria' + mavenVersion = '1.0.1' + mavenCentralGroupId = 'com.tencent.tcr' mavenCentralUserID = 'laoyuyu' mavenCentralUserName = 'laoyuyu' mavenCentralEmail = '511455842@qq.com' diff --git a/gradle/mavenCentral-release.gradle b/gradle/mavenCentral-release.gradle index 0fcb99ae..8b6bb03b 100644 --- a/gradle/mavenCentral-release.gradle +++ b/gradle/mavenCentral-release.gradle @@ -1,6 +1,7 @@ apply plugin: 'maven-publish' apply plugin: 'signing' +version rootProject.ext.mavenVersion ext { PUBLISH_GROUP_ID = rootProject.ext.mavenCentralGroupId PUBLISH_VERSION = rootProject.ext.mavenVersion @@ -55,13 +56,13 @@ static def localMavenRepo() { def getReleaseRepositoryUrl() { return isLocal() ? localMavenRepo() : hasProperty('RELEASE_REPOSITORY_URL') ? RELEASE_REPOSITORY_URL - : 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/' + : 'https://oss.sonatype.org/service/local/staging/deploy/maven2/' } def getSnapshotRepositoryUrl() { return isLocal() ? localMavenRepo() : hasProperty('SNAPSHOT_REPOSITORY_URL') ? SNAPSHOT_REPOSITORY_URL - : 'https://s01.oss.sonatype.org/content/repositories/snapshots/' + : 'https://mirrors.tencent.com/repository/maven/CloudRenderSdk/MicroSdk/snapshots/' } def isLocal(){ @@ -161,7 +162,7 @@ afterEvaluate { project -> artifact androidLibraryJar artifact androidSourcesJar - artifact androidJavadocsJar +// artifact androidJavadocsJar } else if (project.plugins.hasPlugin('java')) { from components.java diff --git a/secring.gpg b/secring.gpg new file mode 100644 index 00000000..9714220a Binary files /dev/null and b/secring.gpg differ