Skip to content

Commit 97b85f2

Browse files
committed
build: update build tools
1 parent 843d5df commit 97b85f2

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

build.gradle

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ ext {
2727
logbackVersion = '1.2.3'
2828
mockitoJunitVersion = "3.1.0"
2929

30-
scmSlug = 'web3j'
3130
}
3231

3332

gradle/bintray/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ apply plugin: 'com.jfrog.bintray'
33
bintray {
44
user = System.getenv('BINTRAY_USER')
55
key = System.getenv('BINTRAY_KEY')
6-
def slug = project.name
7-
if(project.hasProperty('scmSlug')) {
8-
slug = project.scmSlug
6+
def slug = rootProject.name
7+
if (project.hasProperty('rootProjectOverride')) {
8+
slug = project.rootProjectOverride
99
}
1010
publications = ['maven']
1111
publish = true

gradle/jacoco/build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ task jacocoRootTestReport(type: org.gradle.testing.jacoco.tasks.JacocoReport) {
1818
exclude: [
1919
'org/web3j/abi/datatypes/generated/**',
2020
'org/web3j/tuples/generated/**',
21-
'org/web3j/ens/contracts/generated/**'
21+
'org/web3j/ens/contracts/generated/**',
22+
'org/gradle/**'
2223
])
2324
}))
2425
}

gradle/publish/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ publishing {
4343
}
4444

4545
scm {
46-
def slug = project.name
47-
if (project.hasProperty('scmSlug')) {
48-
slug = project.scmSlug
46+
def slug = rootProject.name
47+
if (project.hasProperty('rootProjectOverride')) {
48+
slug = project.rootProjectOverride
4949
}
5050

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

settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
rootProject.name = 'base'
1+
rootProject.name = 'web3j'
22

33
include 'abi'
44
include 'besu'

0 commit comments

Comments
 (0)