You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java/README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,7 +161,7 @@ This SDK tracks the official [Copilot SDK](https://github.com/github/copilot-sdk
161
161
162
162
### Development Setup
163
163
164
-
Requires JDK 25 or later for development.
164
+
Requires JDK 25 or later for development. The following steps validate the artifact built with JDK 25 runs on both 25 and 17, preserving the MR-JAR behavior.
165
165
166
166
```bash
167
167
# Clone the repository
@@ -172,7 +172,8 @@ cd copilot-sdk/java
172
172
git config core.hooksPath .githooks
173
173
174
174
# Build and test with JDK 25
175
-
mvn clean verify
175
+
mvn test-compile jar:jar
176
+
mvn verify -Dskip.test.harness=true
176
177
177
178
# Set your paths for JDK 17
178
179
# Run the JDK 25 built jar with JDK 17 JVM for tests. Do not re-compile the jar.
0 commit comments