-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: prepare module for maven release #88
chore: prepare module for maven release #88
Conversation
Will refactor soon
…prepare-publishing-plugins
SDK-2730 [Android] Preparing for release
Description In this ticket we are preparing the new Android/Kotlin SDK for a snapshot release. The things we need to prepare are: Tech design / Research ChatGpt:
Research doc: https://www.notion.so/rudderstacks/Android-Kotlin-SDK-15bf2b415dd080598959f2d7fe3415e4 **
**
|
…prepare-publishing-plugins
Description
android
andcore
modules to maven.Type of change
Implementation Details
android
andcore
modules for releases.android
SDK.group
andversion
for all the modules. (We might need to change it in the future, when integration modules will be added!)RudderStackBuildConfig.kt
refactored the quotes aroundVERSION_NAME
, so that we could utilise this the same value in root.build.gradle.kts file for android and core modules versions.gradle.properties
. (We need to update this info in future, after we update the repository name!)publishing.gradle.kts
: Responsible to upload the modules to the maven.Checklist
How to test?
./gradlew clean build
NEXUS_USERNAME
,NEXUS_PASSWORD
andSONATYPE_STAGING_PROFILE_ID
as environment variables../gradlew publishToSonatype
Here, what it looks like if publish is successful!
![image](https://private-user-images.githubusercontent.com/64667840/395695896-19bc6584-656d-417b-9c00-8553d0de5f97.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzUyMzE5NDQsIm5iZiI6MTczNTIzMTY0NCwicGF0aCI6Ii82NDY2Nzg0MC8zOTU2OTU4OTYtMTliYzY1ODQtNjU2ZC00MTdiLTljMDAtODU1M2QwZGU1Zjk3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDEyMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMjI2VDE2NDcyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM5MzRiNjliNDQ2NjAwYTg0OWQ3NTg2MjllYmZhYTg4ZWQ5MmIxNGUxNmI4NTlkMzc5OTJlOWU2NDRjNjI1ZTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-mdT8PNhyg75MDXus4ouMoCx_2q5zFrYPDP0XJht4pQ)
Verify it here: https://s01.oss.sonatype.org/#nexus-search;gav~com.rudderstack.sdk.kotlin~~~~.
Breaking Changes
Maintainers Checklist
Screenshots (if applicable)
Core:
Android:
Additional Context
NOTE: We are publishing:
aar
(android),jar
(core), sourcesJar (both) and javadocJar (both).To release new versions, update the following values:
VERSION_NAME
andVERSION_CODE
at bothgradle.properties
andRudderStackBuildConfig
. Then run./gradlew publishToSonatype
.