File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
android-database-sqlcipher Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 11apply plugin : " com.android.library"
2+ apply plugin : " maven-publish"
23apply from : " native.gradle"
34
45android {
@@ -43,3 +44,55 @@ android {
4344 }
4445
4546}
47+
48+ publishing {
49+ publications {
50+ sqlcipher(MavenPublication ) {
51+ groupId " net.zetetic"
52+ artifactId " android-database-sqlcipher"
53+ version " ${ clientVersionNumber} "
54+ artifact(" $buildDir /outputs/aar/${ archivesBaseName} -${ clientVersionNumber} .aar" )
55+ pom. withXml {
56+ asNode(). children(). last() + {
57+ resolveStrategy = Closure . DELEGATE_FIRST
58+ name " android-database-sqlcipher"
59+ description " SQLCipher for Android is a plugin to SQLite that provides full database encryption."
60+ url " https://www.zetetic.net/sqlcipher"
61+ scm {
62+ url " https://github.com/sqlcipher/android-database-sqlcipher.git"
63+ connection " scm:git:https://github.com/sqlcipher/android-database-sqlcipher.git"
64+ developerConnection " scm:git:https://github.com/sqlcipher/android-database-sqlcipher.git"
65+ }
66+ licenses {
67+ license {
68+ url " https://www.zetetic.net/sqlcipher/license/"
69+ }
70+ }
71+ developers {
72+ developer {
73+ name " Zetetic Support"
74+ email " support@zetetic.net"
75+ organization " Zetetic LLC"
76+ organizationUrl " https://www.zetetic.net/"
77+ }
78+ }
79+ distributionManagement {
80+ snapshotRepository {
81+ id " ossrh"
82+ url " https://oss.sonatype.org/content/repositories/snapshots"
83+ }
84+ repository {
85+ id " ossrh"
86+ url " https://oss.sonatype.org/service/local/staging/deploy/maven2/"
87+ }
88+ }
89+ }
90+ }
91+ }
92+ }
93+ repositories {
94+ maven {
95+ url " $buildDir /repo"
96+ }
97+ }
98+ }
You can’t perform that action at this time.
0 commit comments