Skip to content

Commit

Permalink
CI change 11
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterBin committed Jun 4, 2024
1 parent 1c9177c commit 401ac9d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions common-scripts.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,14 @@ android {

ext {
getNamespace = this.&getNamespace
getArtifactId = this.&getArtifactId
customizePom = this.&customizePom
setUpRepositories = this.&setUpRepositories
setUpSigning = this.&setUpSigning
}

afterEvaluate {
publishing {
publications {
maven(MavenPublication) {
groupId = library.publishGroupId
artifactId = getArtifactId(project)
artifactId = project.name
version = library.publishVersion
from components.release

Expand All @@ -70,7 +66,7 @@ afterEvaluate {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/tangem/tangem-sdk-android")
url = uri("https://maven.pkg.github.com/tangem/vico")
credentials {
username = "$githubUser"
password = "$githubPass"
Expand All @@ -84,10 +80,6 @@ String getNamespace(Project project) {
return "${library.groupId}.${project.name.replace("-", ".")}"
}

String getArtifactId(Project project) {
return project.name
}

void customizePom(MavenPom pom) {

pom.name = "Tangem Vico"
Expand Down

0 comments on commit 401ac9d

Please sign in to comment.