A Kotlin Multiplatform Library for downloading synced and non-synced lyrics from various sources
- Registering a Sonatype account as described here: https://dev.to/kotlin/how-to-build-and-publish-a-kotlin-multiplatform-library-going-public-4a8k
- Add developer id, name, email and the project url to
/convention-plugins/src/main/kotlin/convention.publication.gradle.kts
- Add the secrets to
local.properties
:
signing.keyId=...
signing.password=...
signing.secretKeyRingFile=...
ossrhUsername=...
ossrhPassword=...
- Run
./gradlew :dodo:publishAllPublicationsToSonatypeRepository
- Run
./gradlew :lyricfier:assembleRelease
- Output:
/lyricfier/build/outputs/aar/lyricfier-release.aar
- Run
./gradlew :lyricfier:jvmJar
- Output:
/lyricfier/build/libs/lyricfier-jvm-1.0.jar
- Run
./gradlew :lyricfier:linkReleaseFrameworkIosArm64
- Output:
/lyricfier/build/bin/iosArm64/releaseFramework/lyricfier.framework
- Run
./gradlew :lyricfier:jsBrowserProductionWebpack
- Output:
/lyricfier/build/dist/js/productionExecutable/lyricfier.js
- Run
./gradlew :lyricfier:linkReleaseFrameworkMacosArm64
- Output:
/lyricfier/build/bin/macosArm64/releaseFramework/lyricfier.framework
- Run
./gradlew :lyricfier:linkReleaseStaticLinuxX64
- Output:
/lyricfier/build/bin/linuxX64/releaseStatic/liblyricfier.a
- Run
./gradlew :lyricfier:linkReleaseStaticMingwX64
- Output:
/lyricfier/build/bin/mingwX64/releaseStatic/liblyricfier.a