Skip to content

Adyen/adyen-sdk-automation

Repository files navigation

Adyen SDK Automation

This is a set of Gradle build scripts to generate code for Adyen/adyen-*-api-library repositories.

To generate all services in all libraries, run:

./gradlew services

Note: Ensure that the service is in the following list: adyen.sdk-automation-conventions.gradle.

For all services in a library, run:

 ./gradlew :go:services

For a single specific service:

./gradlew php:checkout

To clean up spec patches:

./gradlew cleanSpecs

To clean up all the generated artifacts and repository modifications:

./gradlew cleanRepo

Typical usage during development:

./gradlew :dotnet:cleanRepo :dotnet:checkout

For Node.js, set the generator version via CLI:

./gradlew :node:cleanRepo :node:checkout -PopenapiGeneratorVersion=5.4.0

Development

Shared logic goes into buildSrc. Subprojects can extend and customize predefined tasks via extension properties (project.ext) or reconfiguration (tasks.named).

For local testing of some library:

rm -rf go/repo && ln -s ~/workspace/adyen-go-api-library go/repo

To run unit tests:

./gradlew :buildSrc:test

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published