Repository navigation
Conversation
demo/gradlew was committed without demo/gradle/wrapper/, so running the demo from a fresh clone failed with "Unable to access jarfile". Add the wrapper jar and properties (same Gradle 9.1.0 as the root project). Also bump the demo dependency from 1.0.0 to 1.2.0 to match the README, and add a Maven pom.xml snippet to the Installation section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
.gitignore excluded gradlew.bat in every folder, so Windows users could not run the library build or the demo through the wrapper. Regenerated both wrappers with Gradle 9.1.0; demo/gradlew now matches the root copy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The version was hard-coded in build.gradle, demo/build.gradle and the README snippets, which is how the demo stayed on 1.0.0 after 1.2.0. - gradle.properties holds version=1.2.0; build.gradle uses it. - demo/build.gradle reads ../gradle.properties for its dependency. - New checkVersionReferences task (part of check, run in CI and by make release) fails if a README Gradle/Maven snippet names another version. - CONTRIBUTING.md documents the release step. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
demo/gradlewwas committed withoutdemo/gradle/wrapper/, socd demo && make allfrom a fresh clone failed (gradlewruns-jar $APP_HOME/gradle/wrapper/gradle-wrapper.jar). This adds the wrapper jar and properties, copied from the root project (Gradle 9.1.0).serpapi-java:1.0.0to1.2.0to match the README.pom.xmlsnippet to Installation. Previously only Gradle was shown.These were the last open problems found while triaging the legacy google-search-results-java repo before archiving it (serpapi/google-search-results-java#24, #22; serpapi/SerpApi#11075).
Test plan
cd demo && ./gradlew buildbuildsdemo.jarand resolvesserpapi-java:1.2.0from JitPack./gradlew runreaches the SerpApi API (tested with an invalid key, which returned the expectedInvalid API keyerror)make all SERPAPI_KEY=<valid key>indemo/on a fresh clone🤖 Generated with Claude Code