File tree Expand file tree Collapse file tree 4 files changed +13
-11
lines changed Expand file tree Collapse file tree 4 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 3939 if : matrix.os == 'ubuntu-latest'
4040 run : ./gradlew build
4141
42- - name : KotlinPoet check
42+ - name : API check
4343 if : " matrix.os != 'ubuntu-latest'"
4444 run : ./gradlew check
Original file line number Diff line number Diff line change 11name : Publish release to Maven Central
22
33on :
4- release :
5- types : [published]
64 workflow_dispatch :
75 inputs :
86 version :
Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ Releasing
22=========
33
441 . Change the version in ` gradle.properties ` to a non-SNAPSHOT version.
5- 2 . Update ` docs/changelog.md ` for the impending release.
6- 3 . ` git commit -am "Prepare for release X.Y.Z." ` (where X.Y.Z is the new version)
7- 4 . ` git tag -a X.Y.Z -m "Version X.Y.Z" ` (where X.Y.Z is the new version).
8- 5 . Update ` gradle.properties ` to the next SNAPSHOT version.
9- 6 . ` git commit -am "Prepare next development version." ` .
10- 7 . ` git push && git push --tags ` .
5+ 2 . ` git commit -am "Prepare for release X.Y.Z." ` (where X.Y.Z is the new version)
6+ 3 . ` git tag -a X.Y.Z -m "Version X.Y.Z" ` (where X.Y.Z is the new version).
7+ 4 . Update ` gradle.properties ` to the next SNAPSHOT version.
8+ 5 . ` git commit -am "Prepare next development version." ` .
9+ 6 . ` git push && git push --tags ` .
1110
1211This will trigger a GitHub Action workflow which will create a GitHub release and upload the
1312release artifacts to [ Maven Central] [ maven-central ] .
1413
15- [ maven-central ] : https://repo.maven.apache.org/maven2/com/squareup/kotlinpoet/
14+ [ maven-central ] : https://repo.maven.apache.org/maven2/org/openMF/fineract-client-cmp/
15+ ```
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ plugins {
1414 alias(libs.plugins.kotlin.multiplatform)
1515 alias(libs.plugins.kover)
1616 alias(libs.plugins.dokka)
17- alias(libs.plugins.maven)
1817 id(" kotlinx-serialization" )
1918 alias(libs.plugins.ksp)
2019 alias(libs.plugins.ktorfit)
20+ alias(libs.plugins.maven)
2121}
2222
2323kotlin {
@@ -67,6 +67,10 @@ dependencies {
6767 add(" kspIosSimulatorArm64" , libs.ktorfit.ksp)
6868}
6969
70+ tasks.named(" sourcesJar" ).configure {
71+ dependsOn(tasks.named(" kspCommonMainKotlinMetadata" ))
72+ }
73+
7074// Maven publishing configuration
7175val artifactId = " fineract-client-kmp"
7276val mavenGroup: String by project
You can’t perform that action at this time.
0 commit comments