Closed vixentael closed 3 years ago
Android Themis has been republished to Maven Central manually. It should be available under the same name.
repositories {
mavenCentral()
}
dependencies {
implementation 'com.cossacklabs.com:themis:0.13.1'
}
Currently only the latest version 0.13.1 is available, as it is the first one containing all the required metadata to be allowed into the Maven Central repo.
Things still to be done:
Thank you, @ilammy!
Themis is available here https://search.maven.org/artifact/com.cossacklabs.com/themis/0.13.1/aar
Things still to be done (cont):
looks like @ilammy has updated gradle, docs, examples and produced a repeatable release manual. I suggest to close this issue, as other things (automation and moving old Themis libs to MC) are more "enhancements" than blockers.
JFrog shuts down Bintray service, where we host android Themis: https://bintray.com/cossacklabs/maven/themis
They suggest migrating to Maven Central.
We should investigate what changes are required in src/wrappers/themis/android/build.gradle and potentially other android/Java related files to fix distribution pipeline.
List of useful links:
Potentially helpful twitter-thread from Brian Sonatype: https://twitter.com/Brian_Fox/status/1357414525377642496
Maven Central Requirements https://central.sonatype.org/pages/requirements.html
@asm0dey has kindly shared their
build.gradle
that uploads their lib to Maven Central for inspiration purposes https://github.com/asm0dey/staks/blob/main/build.gradleManual on manually moving libs from JCenter to Maven Central https://www.marcogomiero.com/posts/2021/move-libray-jcenter-to-maven/