File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ android.libraryVariants.all { variant ->
3535apply plugin : ' maven'
3636apply plugin : ' signing'
3737
38- def isSnapshot = version. endsWith(' -SNAPSHOT' )
3938def ossrhUsername = hasProperty(' NEXUS_USERNAME' ) ? NEXUS_USERNAME : System . getenv(' CI_NEXUS_USERNAME' )
4039def ossrhPassword = hasProperty(' NEXUS_PASSWORD' ) ? NEXUS_PASSWORD : System . getenv(' CI_NEXUS_PASSWORD' )
4140
@@ -63,35 +62,6 @@ def pomConfig = {
6362}
6463
6564
66- uploadArchives {
67- repositories. mavenDeployer {
68- beforeDeployment { MavenDeployment deployment -> signing. signPom(deployment) }
69-
70- repository(url : " https://oss.sonatype.org/service/local/staging/deploy/maven2/" ) {
71- authentication(userName : ossrhUsername, password : ossrhPassword)
72- }
73-
74- snapshotRepository(url : " https://oss.sonatype.org/content/repositories/snapshots/" ) {
75- authentication(userName : ossrhUsername, password : ossrhPassword)
76- }
77-
78- def basePom = {
79- name projName
80- artifactId = artifact
81- packaging ' aar'
82- description projDescription
83- url gitLink
84- }
85-
86- pom. project basePom << pomConfig
87- }
88- }
89-
90- signing {
91- required { ! isSnapshot && gradle. taskGraph. hasTask(" uploadArchives" ) }
92- sign configurations. archives
93- }
94-
9565task androidSourcesJar (type : Jar ) {
9666 classifier = ' sources'
9767 from android. sourceSets. main. java. sourceFiles
You can’t perform that action at this time.
0 commit comments