File tree Expand file tree Collapse file tree 3 files changed +38
-6
lines changed
Expand file tree Collapse file tree 3 files changed +38
-6
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,8 @@ $ ./gradlew :backend:jvm:run
170170
171171 ``` bash
172172 $ ./gradlew :backend:native:build
173+ $ find backend/native/build/bin -type f -perm +111 -exec ls -lh {} \; | awk ' {print $9 ": " $5}'
174+
173175 # Arch specific binaries
174176 $ ./gradlew :backend:native:macosArm64Binaries
175177 $ ./gradlew :backend:native:macosX64Binaries
@@ -242,12 +244,13 @@ $ ./gradlew :backend:jvm:run
242244
243245 $ export ORG_GRADLE_PROJECT_mavenCentralUsername=< Username from https://central.sonatype.com/account>
244246 $ export ORG_GRADLE_PROJECT_mavenCentralPassword=< Token from https://central.sonatype.com/account>
245- $ export ORG_GRADLE_PROJECT_signingKeyId =< GPG Key ID>
246- $ export ORG_GRADLE_PROJECT_signingPassword =< Password>
247- $ export ORG_GRADLE_PROJECT_signingKey =$( gpg --export-secret-keys --armor ${ORG_GRADLE_PROJECT_signingKeyId } | grep -v ' \-\-' | grep -v ' ^=.' | tr -d ' \n' )
247+ $ export ORG_GRADLE_PROJECT_signingInMemoryKeyId =< GPG Key ID>
248+ $ export ORG_GRADLE_PROJECT_signingInMemoryKeyPassword =< Password>
249+ $ export ORG_GRADLE_PROJECT_signingInMemoryKey =$( gpg --export-secret-keys --armor ${ORG_GRADLE_PROJECT_signingInMemoryKeyId } | grep -v ' \-\-' | grep -v ' ^=.' | tr -d ' \n' )
248250
251+ # For aggregated publication (preferred)
249252 $ ./gradlew publishAggregatedPublicationToCentralPortal
250- # For all publications,
253+ # For all publications
251254 $ ./gradlew publishAllPublicationsToCentralPortal
252255 ```
253256
Original file line number Diff line number Diff line change 1+ import common.*
2+
13plugins {
24 dev.suresh.plugin.root
35 // alias(libs.plugins.kotlin.multiplatform) apply false
46 // id(libs.plugins.kotlin.multiplatform.get().pluginId)
5- // alias(libs.plugins.kotlin.compose.compiler) apply false
67}
78
89description = " Kotlin Multiplatform Playground!"
10+
11+ nmcp {
12+ val nativeBuild: String? by project
13+ val composeBuild: String? by project
14+
15+ publishAggregation {
16+ project(" :shared" )
17+ project(" :dep-mgmt:bom" )
18+ project(" :dep-mgmt:catalog" )
19+ project(" :meta:ksp:processor" )
20+ project(" :meta:compiler:plugin" )
21+ project(" :backend:jvm" )
22+ project(" :backend:data" )
23+ project(" :backend:profiling" )
24+ project(" :backend:security" )
25+ project(" :web" )
26+ if (nativeBuild.toBoolean()) {
27+ project(" :backend:native" )
28+ }
29+ if (composeBuild.toBoolean()) {
30+ project(" :compose:cmp" )
31+ // project(":compose:html")
32+ }
33+
34+ username = mavenCentralUsername
35+ password = mavenCentralPassword
36+ publicationType = " AUTOMATIC"
37+ }
38+ }
Original file line number Diff line number Diff line change @@ -66,5 +66,4 @@ enableMavenSnapshot=false
6666composeBuild =true
6767springBoot =false
6868nativeBuild =false
69- nativeWinTarget =false
7069debug =false
You can’t perform that action at this time.
0 commit comments