Removed deployment script for bintray/jcenter from the 'trustkit' module's 'build.gradle'. This file earlier contained scripts for building an apk as well as publishing to bintray. Now it contains just one reference to the publishing script which is in a separate file. Hence it's down from ~140 lines of code to ~30 lines of code.
created MavenCentral deployment script called 'publish-mavencentral.gradle' inside a folder called 'deploymentScripts/' located inside the project root directory.
There's a reference to jcenter() in the project level build.gradle which can not be removed until Jetbrains migrates org.jetbrains.trove4j:trove4j to MavenCentral.
Incremented version to 1.1.5 (issues with the 1.1.4 release meant that the only way out was to deploy 1.1.5 as older releases can't be removed from mavencentral)
Minor update to .gitignore
Updated gradle version in gradle-wrapper.properties to get rid of warnings
Procedure to deploy:
Ensure that local.properties file present in the root directory contains the necessary key value pairs such as: ossrhPassword, signing.secretKeyRingFile, signing.password, ossrhUsername, signing.keyId
trustkit
' module's 'build.gradle
'. This file earlier contained scripts for building an apk as well as publishing to bintray. Now it contains just one reference to the publishing script which is in a separate file. Hence it's down from ~140 lines of code to ~30 lines of code.publish-mavencentral.gradle
' inside a folder called 'deploymentScripts/
' located inside the project root directory.org.jetbrains.trove4j:trove4j
to MavenCentral.Procedure to deploy:
ossrhPassword
,signing.secretKeyRingFile
,signing.password
,ossrhUsername
,signing.keyId
./gradlew trustkit:assembleRelease
./gradlew trustkit:publishReleasePublicationToMavencentralRepository