Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding unit tests automation #871

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Adding unit tests automation #871

wants to merge 2 commits into from

Conversation

l-trotta
Copy link
Contributor

@l-trotta l-trotta commented Aug 26, 2024

Had to upgrade gradlew to latest because current version doesn't support the forbidden apis plugin

@l-trotta l-trotta requested a review from swallez August 26, 2024 10:40
java-version: '8'
distribution: 'temurin'
- name: Enable gradle wrapper execution
run: chmod +x gradlew
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this really needed? gradlew as execution permission in the git repo.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually didn't get to test this, when running with the current version of gradle I get:

* What went wrong:
An exception occurred applying plugin request [id: 'de.thetaphi.forbiddenapis', version: '3.4']
> Failed to apply plugin 'de.thetaphi.forbiddenapis'.
   > Could not create plugin of type 'ForbiddenApisPlugin'.
      > BUG! exception in phase 'semantic analysis' in source unit 'jar:file:.../forbiddenapis-3.4.jar!/de/thetaphi/forbiddenapis/gradle/plugin-init.groovy' Unsupported class file major version 65

which I solved only by updating gradle, but I'm not sure we want to update gradle just for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants