diff --git a/gradle.properties b/gradle.properties index fbbadc11..207bb2eb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,16 +10,22 @@ org.gradle.jvmargs=-Dfile.encoding=UTF-8 -Xmx4g org.gradle.parallel=true -VERSION_NAME=1.7.10-SNAPSHOT GROUP=io.github.goooler.android +VERSION_NAME=1.7.10-SNAPSHOT + +SONATYPE_AUTOMATIC_RELEASE=true +SONATYPE_HOST=S01 +RELEASE_SIGNING_ENABLED=true + POM_URL=https://github.com/Goooler/FileDownloader -ISSUE_URL=https://github.com/Goooler/FileDownloader/issues POM_SCM_URL=https://github.com/Goooler/FileDownloader POM_SCM_CONNECTION=scm:git@github.com:Goooler/FileDownloader.git POM_SCM_DEV_CONNECTION=scm:git@github.com:Goooler/FileDownloader.git + POM_LICENCE_NAME=The Apache Software License, Version 2.0 POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt POM_LICENCE_DIST=repo + POM_DEVELOPER_ID=Goooler POM_DEVELOPER_NAME=Zongle Wang -SONATYPE_HOST=S01 +POM_DEVELOPER_URL=https://github.com/Goooler \ No newline at end of file diff --git a/library/build.gradle b/library/build.gradle index 2e18b8d4..969df7fc 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -1,7 +1,6 @@ plugins { id 'com.android.library' id 'com.vanniktech.maven.publish' - id 'signing' } plugins.apply('checkstyle') @@ -33,14 +32,6 @@ checkstyle { toolVersion = '10.17.0' } -mavenPublishing { - signAllPublications() -} - -signing { - required = !version.toString().endsWith("-SNAPSHOT") -} - dependencies { implementation 'androidx.core:core:1.13.1'