File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
build-logic/plugins/src/main/kotlin Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 11POM_ARTIFACT_ID =annotations
22POM_NAME =Amplify Framework for Android - Annotations
33POM_DESCRIPTION =Amplify Framework for Android - Annotations for AWS Amplify Libraries
4- POM_PACKAGING =aar
4+ POM_PACKAGING =jar
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import org.gradle.api.Project
33import org.gradle.api.tasks.compile.JavaCompile
44import org.gradle.api.tasks.testing.Test
55import org.gradle.kotlin.dsl.configure
6+ import org.gradle.kotlin.dsl.extra
67import org.gradle.kotlin.dsl.withType
78import org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension
89import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
@@ -44,6 +45,14 @@ class KotlinConventionPlugin : Plugin<Project> {
4445 }
4546
4647 with (target) {
48+ // Set up signing properties for publishing
49+ if (hasProperty(" signingKeyId" )) {
50+ println (" Getting signing info from protected source." )
51+ extra[" signing.keyId" ] = findProperty(" signingKeyId" )
52+ extra[" signing.password" ] = findProperty(" signingPassword" )
53+ extra[" signing.inMemoryKey" ] = findProperty(" signingInMemoryKey" )
54+ }
55+
4756 configure<KotlinProjectExtension > {
4857 jvmToolchain(17 )
4958 }
You can’t perform that action at this time.
0 commit comments