Skip to content

Commit

Permalink
check with java 11 in pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Nischal Sharma <[email protected]>
  • Loading branch information
NickSneo committed Apr 16, 2024
1 parent 2cbcb6d commit c7a76df
Show file tree
Hide file tree
Showing 17 changed files with 14 additions and 99 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
registry.password: ${{ secrets.REGISTRY_PASSWORD }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- name: Cache Gradle packages
uses: actions/cache@v2
with:
Expand All @@ -33,10 +33,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- name: Cache Gradle packages
uses: actions/cache@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- name: Cache Gradle packages
uses: actions/cache@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
trigger_workflow: true
wait_workflow: true
continue-on-error: true
- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- name: Cache Gradle packages
uses: actions/cache@v2
with:
Expand Down
7 changes: 0 additions & 7 deletions abi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,3 @@ description 'Ethereum Application Binary Interface (ABI) for working with smart
dependencies {
compile project(':utils')
}

signing {
sign publishing.publications.maven
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
useInMemoryPgpKeys(gpgSecretKey, password)
}
7 changes: 0 additions & 7 deletions besu/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,3 @@ dependencies {
compile project(':eea')
testCompile project(path: ':core', configuration: 'testArtifacts')
}

signing {
sign publishing.publications.maven
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
useInMemoryPgpKeys(gpgSecretKey, password)
}
7 changes: 0 additions & 7 deletions codegen/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,3 @@ file("src/test/resources/solidity").listFiles().each { File file ->
test.dependsOn generateTask
}
}

signing {
sign publishing.publications.maven
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
useInMemoryPgpKeys(gpgSecretKey, password)
}
7 changes: 0 additions & 7 deletions contracts/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,3 @@ dependencies {
compile project(':core')
testCompile project(path: ':core', configuration: 'testArtifacts')
}

signing {
sign publishing.publications.maven
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
useInMemoryPgpKeys(gpgSecretKey, password)
}
7 changes: 0 additions & 7 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,3 @@ classes { dependsOn createProperties }
configurations { testArtifacts.extendsFrom testRuntime }

artifacts { testArtifacts testsJar }

signing {
sign publishing.publications.maven
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
useInMemoryPgpKeys(gpgSecretKey, password)
}
7 changes: 0 additions & 7 deletions crypto/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,3 @@ dependencies {
configurations { testArtifacts.extendsFrom testRuntime }

artifacts { testArtifacts testsJar }

signing {
sign publishing.publications.maven
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
useInMemoryPgpKeys(gpgSecretKey, password)
}
7 changes: 0 additions & 7 deletions eea/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,3 @@ dependencies {
compile project(':core')
testCompile project(path: ':core', configuration: 'testArtifacts')
}

signing {
sign publishing.publications.maven
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
useInMemoryPgpKeys(gpgSecretKey, password)
}
7 changes: 0 additions & 7 deletions geth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,3 @@ dependencies {
compile project(':core')
testCompile project(path: ':core', configuration: 'testArtifacts')
}

signing {
sign publishing.publications.maven
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
useInMemoryPgpKeys(gpgSecretKey, password)
}
6 changes: 6 additions & 0 deletions gradle/publish/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,9 @@ nexusStaging {
packageGroup = rootProject.group
}

signing {
sign publishing.publications.maven
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
useInMemoryPgpKeys(gpgSecretKey, password)
}
7 changes: 0 additions & 7 deletions hosted-providers/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,3 @@
description 'web3j customisations for working with hosted web3 providers (Infura.io & Nodesmith.io)'

dependencies { compile project(':core') }

signing {
sign publishing.publications.maven
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
useInMemoryPgpKeys(gpgSecretKey, password)
}
7 changes: 0 additions & 7 deletions parity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,3 @@ dependencies {
testCompile project(path: ':core', configuration: 'testArtifacts'),
"nl.jqno.equalsverifier:equalsverifier:$equalsverifierVersion"
}

signing {
sign publishing.publications.maven
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
useInMemoryPgpKeys(gpgSecretKey, password)
}
7 changes: 0 additions & 7 deletions rlp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,3 @@
description 'Ethereum Recursive Length Prefix (RLP) encoding for serializing objects'

dependencies { compile project(':utils') }

signing {
sign publishing.publications.maven
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
useInMemoryPgpKeys(gpgSecretKey, password)
}
7 changes: 0 additions & 7 deletions tuples/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@

description 'Simple Java tuples library'

signing {
sign publishing.publications.maven
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
useInMemoryPgpKeys(gpgSecretKey, password)
}
7 changes: 0 additions & 7 deletions utils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,3 @@
description 'Minimal set of web3j utility classes'

dependencies { compile "org.bouncycastle:bcprov-jdk18on:$bouncycastleVersion" }

signing {
sign publishing.publications.maven
def gpgSecretKey = System.getenv('OSSRH_GPG_SECRET_KEY')
def password = System.getenv('OSSRH_GPG_SECRET_KEY_PASSWORD')
useInMemoryPgpKeys(gpgSecretKey, password)
}

0 comments on commit c7a76df

Please sign in to comment.