Skip to content

Commit 68aa087

Browse files
authored
[INJIMOB-1578] add signing for maven publish (#105)
Signed-off-by: Abhishek Paul <[email protected]>
1 parent f8dbb11 commit 68aa087

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

kotlin/android/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apply plugin: 'com.android.library'
22
apply plugin: 'kotlin-android'
33
apply plugin: 'org.sonarqube'
44
apply plugin: 'maven-publish'
5+
apply plugin: 'signing'
56

67
buildscript {
78
ext.kotlin_version = rootProject.ext.has('kotlinVersion') ? rootProject.ext.get('kotlinVersion') : project.properties['SecureKeystore_kotlinVersion']

kotlin/android/publish-artifact.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,7 @@ publishing {
102102
}
103103
}
104104
}
105+
signing {
106+
useGpgCmd()
107+
sign publishing.publications.aar
108+
}

0 commit comments

Comments
 (0)