This repository was archived by the owner on Sep 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,23 @@ APIs. It currently contains the following packages:
13
13
formatted as Google API resource names.
14
14
- resourcenames: Resource Name library used by generated resource name types
15
15
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
+
16
24
Java Versions
17
25
-------------
18
26
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.
20
33
21
34
Contributing
22
35
------------
@@ -57,14 +70,14 @@ Build and Test
57
70
To build this library, please do the following.
58
71
59
72
``` sh
60
- ./gradlew build
73
+ mvn clean install
61
74
```
62
75
63
76
After making changes, run the following commands to format your code and test your changes.
64
77
65
78
``` sh
66
- ./gradlew googleJavaFormat
67
- ./gradlew test
79
+ mvn fmt:format
80
+ mvn test
68
81
```
69
82
70
83
[ CONTRIBUTING ] :https://github.com/googleapis/api-common-java/blob/main/CONTRIBUTING.md
You can’t perform that action at this time.
0 commit comments