Skip to content

Commit 6bd9fb9

Browse files
committed
updating readme
1 parent 27ef3c7 commit 6bd9fb9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Search/BingCustomSearch/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ To get these samples running locally, simply get the pre-requisites above, then:
2929
2. cd cognitive-services-java-sdk-samples/Search/BingCustomSearch
3030
3. set a system environment variable named `BING_CUSTOM_SEARCH_SUBSCRIPTION_KEY` with your subscription key as a value, then reopen your command prompt or IDE. If not, you might get an API key not found exception.
3131
4. Set env variable AZURE_BING_SAMPLES_CUSTOM_CONFIG_ID to your custom configuration id. Can set to 1 if you do not have a custom config id.
32-
5. mvn compile exec:java
32+
5. Use gradle to build and run the sample:
33+
1. `gradle build`
34+
2. `gradle run`
3335

3436
## More information ##
3537
[Bing Custom Search Documentation](https://docs.microsoft.com/en-us/azure/cognitive-services/bing-custom-search/)

0 commit comments

Comments
 (0)