Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
build: use fully qualified artifactId
Browse files Browse the repository at this point in the history
  • Loading branch information
antonydenyer committed Nov 26, 2019
1 parent 523c349 commit 6c2ffe8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
10 changes: 8 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ repositories {
}
}

ext.scmSlug = 'web3j-aion'

description 'Integrates web3j with the Aion Network blockchain.'

ext {
Expand Down Expand Up @@ -70,6 +68,14 @@ subprojects {
}
}

publishing {
publications {
maven(MavenPublication) {
artifactId = "${rootProject.name}-$project.name"
}
}
}

testSets {
integrationTest {
dirName = 'integration-test'
Expand Down
6 changes: 3 additions & 3 deletions gradle/bintray/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ apply plugin: 'com.jfrog.bintray'
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
def slug = project.name
if(project.hasProperty('scmSlug')) {
slug = project.scmSlug
def slug = rootProject.name
if (project.hasProperty('rootProjectOverride')) {
slug = project.rootProjectOverride
}
publications = ['maven']
publish = true
Expand Down
6 changes: 3 additions & 3 deletions gradle/publish/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ publishing {
}

scm {
def slug = project.name
if (project.hasProperty('scmSlug')) {
slug = project.scmSlug
def slug = rootProject.name
if (project.hasProperty('rootProjectOverride')) {
slug = project.rootProjectOverride
}

url = "https://github.com/web3j/$slug"
Expand Down

0 comments on commit 6c2ffe8

Please sign in to comment.