Skip to content

Commit c7a76df

Browse files
committed
check with java 11 in pipeline
Signed-off-by: Nischal Sharma <[email protected]>
1 parent 2cbcb6d commit c7a76df

File tree

17 files changed

+14
-99
lines changed

17 files changed

+14
-99
lines changed

.github/workflows/build.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
registry.password: ${{ secrets.REGISTRY_PASSWORD }}
1616
steps:
1717
- uses: actions/checkout@v2
18-
- name: Set up JDK 1.8
18+
- name: Set up JDK 11
1919
uses: actions/setup-java@v1
2020
with:
21-
java-version: 1.8
21+
java-version: 11
2222
- name: Cache Gradle packages
2323
uses: actions/cache@v2
2424
with:
@@ -33,10 +33,10 @@ jobs:
3333
runs-on: ubuntu-latest
3434
steps:
3535
- uses: actions/checkout@v2
36-
- name: Set up JDK 1.8
36+
- name: Set up JDK 11
3737
uses: actions/setup-java@v1
3838
with:
39-
java-version: 1.8
39+
java-version: 11
4040
- name: Cache Gradle packages
4141
uses: actions/cache@v2
4242
with:

.github/workflows/publish-snapshot.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1919
steps:
2020
- uses: actions/checkout@v2
21-
- name: Set up JDK 1.8
21+
- name: Set up JDK 11
2222
uses: actions/setup-java@v1
2323
with:
24-
java-version: 1.8
24+
java-version: 11
2525
- name: Cache Gradle packages
2626
uses: actions/cache@v2
2727
with:

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
trigger_workflow: true
2727
wait_workflow: true
2828
continue-on-error: true
29-
- name: Set up JDK 1.8
29+
- name: Set up JDK 11
3030
uses: actions/setup-java@v1
3131
with:
32-
java-version: 1.8
32+
java-version: 11
3333
- name: Cache Gradle packages
3434
uses: actions/cache@v2
3535
with:

abi/build.gradle

-7
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,3 @@ description 'Ethereum Application Binary Interface (ABI) for working with smart
44
dependencies {
55
compile project(':utils')
66
}
7-
8-
signing {
9-
sign publishing.publications.maven
10-
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
11-
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
12-
useInMemoryPgpKeys(gpgSecretKey, password)
13-
}

besu/build.gradle

-7
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,3 @@ dependencies {
55
compile project(':eea')
66
testCompile project(path: ':core', configuration: 'testArtifacts')
77
}
8-
9-
signing {
10-
sign publishing.publications.maven
11-
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
12-
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
13-
useInMemoryPgpKeys(gpgSecretKey, password)
14-
}

codegen/build.gradle

-7
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,3 @@ file("src/test/resources/solidity").listFiles().each { File file ->
3737
test.dependsOn generateTask
3838
}
3939
}
40-
41-
signing {
42-
sign publishing.publications.maven
43-
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
44-
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
45-
useInMemoryPgpKeys(gpgSecretKey, password)
46-
}

contracts/build.gradle

-7
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,3 @@ dependencies {
55
compile project(':core')
66
testCompile project(path: ':core', configuration: 'testArtifacts')
77
}
8-
9-
signing {
10-
sign publishing.publications.maven
11-
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
12-
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
13-
useInMemoryPgpKeys(gpgSecretKey, password)
14-
}

core/build.gradle

-7
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,3 @@ classes { dependsOn createProperties }
7878
configurations { testArtifacts.extendsFrom testRuntime }
7979

8080
artifacts { testArtifacts testsJar }
81-
82-
signing {
83-
sign publishing.publications.maven
84-
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
85-
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
86-
useInMemoryPgpKeys(gpgSecretKey, password)
87-
}

crypto/build.gradle

-7
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,3 @@ dependencies {
1212
configurations { testArtifacts.extendsFrom testRuntime }
1313

1414
artifacts { testArtifacts testsJar }
15-
16-
signing {
17-
sign publishing.publications.maven
18-
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
19-
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
20-
useInMemoryPgpKeys(gpgSecretKey, password)
21-
}

eea/build.gradle

-7
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,3 @@ dependencies {
55
compile project(':core')
66
testCompile project(path: ':core', configuration: 'testArtifacts')
77
}
8-
9-
signing {
10-
sign publishing.publications.maven
11-
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
12-
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
13-
useInMemoryPgpKeys(gpgSecretKey, password)
14-
}

geth/build.gradle

-7
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,3 @@ dependencies {
55
compile project(':core')
66
testCompile project(path: ':core', configuration: 'testArtifacts')
77
}
8-
9-
signing {
10-
sign publishing.publications.maven
11-
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
12-
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
13-
useInMemoryPgpKeys(gpgSecretKey, password)
14-
}

gradle/publish/build.gradle

+6
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,9 @@ nexusStaging {
8181
packageGroup = rootProject.group
8282
}
8383

84+
signing {
85+
sign publishing.publications.maven
86+
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
87+
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
88+
useInMemoryPgpKeys(gpgSecretKey, password)
89+
}

hosted-providers/build.gradle

-7
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,3 @@
22
description 'web3j customisations for working with hosted web3 providers (Infura.io & Nodesmith.io)'
33

44
dependencies { compile project(':core') }
5-
6-
signing {
7-
sign publishing.publications.maven
8-
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
9-
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
10-
useInMemoryPgpKeys(gpgSecretKey, password)
11-
}

parity/build.gradle

-7
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,3 @@ dependencies {
66
testCompile project(path: ':core', configuration: 'testArtifacts'),
77
"nl.jqno.equalsverifier:equalsverifier:$equalsverifierVersion"
88
}
9-
10-
signing {
11-
sign publishing.publications.maven
12-
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
13-
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
14-
useInMemoryPgpKeys(gpgSecretKey, password)
15-
}

rlp/build.gradle

-7
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,3 @@
22
description 'Ethereum Recursive Length Prefix (RLP) encoding for serializing objects'
33

44
dependencies { compile project(':utils') }
5-
6-
signing {
7-
sign publishing.publications.maven
8-
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
9-
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
10-
useInMemoryPgpKeys(gpgSecretKey, password)
11-
}

tuples/build.gradle

-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
11

22
description 'Simple Java tuples library'
3-
4-
signing {
5-
sign publishing.publications.maven
6-
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
7-
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
8-
useInMemoryPgpKeys(gpgSecretKey, password)
9-
}

utils/build.gradle

-7
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,3 @@
22
description 'Minimal set of web3j utility classes'
33

44
dependencies { compile "org.bouncycastle:bcprov-jdk18on:$bouncycastleVersion" }
5-
6-
signing {
7-
sign publishing.publications.maven
8-
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
9-
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
10-
useInMemoryPgpKeys(gpgSecretKey, password)
11-
}

0 commit comments

Comments
 (0)