Skip to content

Commit 989d65c

Browse files
Merge pull request #169 from velocitycareerlabs/VL-8685-publish-cleanup
v2.7.5 - gradle cleanup
2 parents c99935a + fec2335 commit 989d65c

File tree

4 files changed

+11
-376
lines changed

4 files changed

+11
-376
lines changed

VCL/build.gradle

Lines changed: 4 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ plugins {
77
}
88

99
ext {
10-
publishCode = 164
11-
publishVersion = "2.7.4"
10+
publishCode = 165
11+
publishVersion = "2.7.5"
1212
publishArtifactId = "vcl"
1313
publishGroupId = "io.velocitycareerlabs"
1414
}
@@ -76,84 +76,7 @@ android {
7676
}
7777
}
7878

79-
afterEvaluate {
80-
def releaseAar = file("${layout.buildDirectory.get()}/outputs/aar/${publishArtifactId}-${publishVersion}.aar")
81-
def rcAar = file("${layout.buildDirectory.get()}/outputs/aar/${publishArtifactId}-${publishVersion}-rc.aar")
82-
83-
publishing {
84-
publications {
85-
create("release", MavenPublication) {
86-
groupId = publishGroupId
87-
artifactId = publishArtifactId
88-
version = publishVersion
89-
90-
artifact(releaseAar) { builtBy(tasks.named("assembleRelease")) }
91-
artifact(tasks.named("generateSourcesJar").get()) { classifier = "sources" }
92-
artifact(tasks.named("generateJavadocJar").get()) { classifier = "javadoc" }
93-
94-
pom {
95-
name = 'vcl'
96-
packaging = 'aar'
97-
description = 'Velocity Career Labs Android SDK consumer app.'
98-
url = 'https://github.com/velocitycareerlabs/WalletAndroid'
99-
licenses {
100-
license {
101-
name = 'The Apache License, Version 2.0'
102-
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
103-
}
104-
}
105-
developers {
106-
developer {
107-
id = 'velocitycareerlabs'
108-
name = 'Michael Avoyan'
109-
110-
}
111-
}
112-
scm {
113-
connection = 'scm:git:git://github.com/velocitycareerlabs/WalletAndroid.git'
114-
developerConnection = 'scm:git:ssh://[email protected]/velocitycareerlabs/WalletAndroid'
115-
url = 'https://github.com/velocitycareerlabs/WalletAndroid'
116-
}
117-
}
118-
}
119-
120-
create("rc", MavenPublication) {
121-
groupId = publishGroupId
122-
artifactId = publishArtifactId
123-
version = "${publishVersion}-rc"
124-
125-
artifact(rcAar) { builtBy(tasks.named("assembleRc")) }
126-
artifact(tasks.named("generateSourcesJar").get()) { classifier = "sources" }
127-
artifact(tasks.named("generateJavadocJar").get()) { classifier = "javadoc" }
128-
129-
pom {
130-
name = 'vcl'
131-
packaging = 'aar'
132-
description = 'Velocity Career Labs Android SDK RC build.'
133-
url = 'https://github.com/velocitycareerlabs/WalletAndroid'
134-
licenses {
135-
license {
136-
name = 'The Apache License, Version 2.0'
137-
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
138-
}
139-
}
140-
developers {
141-
developer {
142-
id = 'velocitycareerlabs'
143-
name = 'Michael Avoyan'
144-
145-
}
146-
}
147-
scm {
148-
connection = 'scm:git:git://github.com/velocitycareerlabs/WalletAndroid.git'
149-
developerConnection = 'scm:git:ssh://[email protected]/velocitycareerlabs/WalletAndroid'
150-
url = 'https://github.com/velocitycareerlabs/WalletAndroid'
151-
}
152-
}
153-
}
154-
}
155-
}
156-
}
79+
apply from: 'publish.gradle'
15780

15881
repositories {
15982
google()
@@ -233,7 +156,7 @@ tasks.register("stageArtifacts", Copy) {
233156
dependencies {
234157
implementation 'androidx.core:core-ktx:1.16.0'
235158

236-
implementation 'com.nimbusds:nimbus-jose-jwt:10.3'
159+
implementation 'com.nimbusds:nimbus-jose-jwt:10.3.1'
237160
implementation "androidx.security:security-crypto:1.1.0-beta01"
238161

239162
testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version"

VCL/publish-jreleaser-FULL.gradle

Lines changed: 0 additions & 138 deletions
This file was deleted.

VCL/publish-jreleaser.gradle

Lines changed: 0 additions & 103 deletions
This file was deleted.

0 commit comments

Comments
 (0)