Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: new java format dependencies and linter fix #768

Merged
merged 12 commits into from
Nov 9, 2021
2 changes: 0 additions & 2 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ branchProtectionRules:
requiresStrictStatusChecks: false
requiredStatusCheckContexts:
- checkstyle
- units (7)
- units (8)
- units (11)
- dependencies (8)
Expand All @@ -24,7 +23,6 @@ branchProtectionRules:
requiresStrictStatusChecks: false
requiredStatusCheckContexts:
- checkstyle
- units (7)
- units (8)
- units (11)
- dependencies (8)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [7, 8, 11]
java: [8, 11]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI. Java client libraries check java 8, 11 and 17.

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 8
java-version: 11
- run: java -version
- run: .kokoro/build.sh
env:
Expand Down
14 changes: 13 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,16 @@
<artifactId>datanucleus-rdbms</artifactId>
<version>${project.datanucleus-rdbms.version}</version>
</dependency>
<dependency>
<groupId>com.google.auto.service</groupId>
<artifactId>${project.auto-service-annotations.version}</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>com.google.auto.value</groupId>
<artifactId>${project.auto-value-annotations.version}</artifactId>
<version>1.8.2</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be ${project.auto-service-annotations.version}?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, the whole thing seems wrong. I'm surprised this doesn't fail.

</dependency>
</dependencies>
</dependencyManagement>

Expand Down Expand Up @@ -463,7 +473,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.http.version>1.40.1</project.http.version>
<project.jsr305.version>3.0.2</project.jsr305.version>
<project.guava.version>30.1-android</project.guava.version>
<project.guava.version>31.0-android</project.guava.version>
<project.xpp3.version>1.1.4c</project.xpp3.version>
<project.commons-logging.version>1.1.1</project.commons-logging.version>
<project.jdo2-api.version>2.3-eb</project.jdo2-api.version>
Expand All @@ -473,6 +483,8 @@
<project.datanucleus-rdbms.version>3.2.13</project.datanucleus-rdbms.version>
<project.datanucleus-maven-plugin.version>4.0.5</project.datanucleus-maven-plugin.version>
<project.servlet-api.version>2.5</project.servlet-api.version>
<project.auto-value-annotations.version>1.8.2</project.auto-value-annotations.version>
<project.auto-service-annotations.version>1.0</project.auto-service-annotations.version>
<deploy.autorelease>false</deploy.autorelease>
</properties>

Expand Down