Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
steps:
- name: eclipse-temurin:17-jdk
- name: maven:3.9.11-eclipse-temurin-17
dir: 'grpc-gcp'
env:
- 'GCP_PROJECT_ID=grpc-gcp-testing'
entrypoint: './gradlew'
args: ['verifyGoogleJavaFormat', 'allTests', '--info']
entrypoint: 'mvn'
args: ['fmt:check', 'verify', '-DskipITs=false']
26 changes: 23 additions & 3 deletions grpc-gcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,13 @@ git clone https://github.com/GoogleCloudPlatform/grpc-gcp-java.git && cd grpc-gc
Build project with unit tests.

```sh
./gradlew build
mvn verify
```

Install the jar to your local Maven repository.

```sh
mvn install
```

## Test
Expand All @@ -89,16 +95,30 @@ export GOOGLE_APPLICATION_CREDENTIALS=path/to/key.json
export GCP_PROJECT_ID=project_id
```

Run unit tests.

```sh
mvn test
```

Run unit tests and integration tests:

```sh
./gradlew allTests
mvn verify -DskipITs=false
```

## Publish

Publish a release build using the Maven release profile inherited from shared config.

```sh
mvn deploy -DperformRelease=true
```

## Code Format

Run google-java-format

```sh
./gradlew goJF
mvn fmt:format
```
194 changes: 0 additions & 194 deletions grpc-gcp/build.gradle

This file was deleted.

5 changes: 0 additions & 5 deletions grpc-gcp/gradle.properties

This file was deleted.

10 changes: 0 additions & 10 deletions grpc-gcp/gradle/libs.versions.toml

This file was deleted.

Binary file removed grpc-gcp/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 0 additions & 7 deletions grpc-gcp/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

Loading