Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit 3bcc439

Browse files
authored
chore: Update docs to reference Maven (#429)
* chore: Update docs to reference maven * chore: Update README
1 parent dc41e6f commit 3bcc439

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,23 @@ APIs. It currently contains the following packages:
1313
formatted as Google API resource names.
1414
- resourcenames: Resource Name library used by generated resource name types
1515

16+
> For new and existing Developers/ Contributors:
17+
>
18+
> In December 2022, api-common-java's build tool has been migrated from gradle to maven.
19+
> Gradle related files are no longer being maintained and will be removed.
20+
>
21+
> The artifact coordinates in Maven Central (`{{ group_id }}:{{ artifact_id }}`) remain the same.
22+
23+
1624
Java Versions
1725
-------------
1826

19-
Java 7 or above is required for using this library.
27+
Java 8 or above is required for using this library.
28+
29+
To build this project, JDK 11 or above is required.
30+
The build produces Java bytecode targeted for Java 8.
31+
32+
The project uses Maven to build.
2033

2134
Contributing
2235
------------
@@ -57,14 +70,14 @@ Build and Test
5770
To build this library, please do the following.
5871

5972
```sh
60-
./gradlew build
73+
mvn clean install
6174
```
6275

6376
After making changes, run the following commands to format your code and test your changes.
6477

6578
```sh
66-
./gradlew googleJavaFormat
67-
./gradlew test
79+
mvn fmt:format
80+
mvn test
6881
```
6982

7083
[CONTRIBUTING]:https://github.com/googleapis/api-common-java/blob/main/CONTRIBUTING.md

0 commit comments

Comments
 (0)