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

Fix missing cz.alenkacz:gradle-scalafmt build error. #5505

Merged
merged 3 commits into from
Aug 22, 2024

Conversation

falkzoll
Copy link
Contributor

@falkzoll falkzoll commented Aug 21, 2024

Fix missing cz.alenkacz:gradle-scalafmt build error.

Description

The 'cz.alenkacz:gradle-scalafmt' module could not be found anymore. Had to change the name to 'gradle.plugin.cz.alenkacz:gradle-scalafmt' and update the version to 1.5.1 since version 1.5.0 seems to have an invalid pom file (see https://plugins.gradle.org/m2/gradle/plugin/cz/alenkacz/gradle-scalafmt/1.5.0/gradle-scalafmt-1.5.0.pom) and refused to function. The version 1.5.1 seem to work fine (see https://plugins.gradle.org/m2/gradle/plugin/cz/alenkacz/gradle-scalafmt/1.5.1/gradle-scalafmt-1.5.1.pom).

Related issue and scope

  • I opened an issue to propose and discuss this change (#????)

My changes affect the following components

  • API
  • Controller
  • Message Bus (e.g., Kafka)
  • Loadbalancer
  • Scheduler
  • Invoker
  • Intrinsic actions (e.g., sequences, conductors)
  • Data stores (e.g., CouchDB)
  • Tests
  • Deployment
  • CLI
  • General tooling
  • Documentation

Types of changes

  • Bug fix (generally a non-breaking change which closes an issue).
  • Enhancement or new feature (adds new functionality).
  • Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

  • I signed an Apache CLA.
  • I reviewed the style guides and followed the recommendations (Travis CI will check :).
  • I added tests to cover my changes.
  • My changes require further changes to the documentation.
  • I updated the documentation where necessary.

falkzoll and others added 3 commits August 16, 2024 19:16
Move gradle scalafmt plugin from using legacy gradle import to dsl import. This should automatically adjust when the gradle plugin repository is moved. The legacy approach was a fixed location and failed when it is moved for some reason.
- The gradle dsl plugin application actually does not allow variables for the plugin version. The variable is therefore removed to avoid confusion.
@Luke-Roy-IBM Luke-Roy-IBM self-requested a review August 21, 2024 10:48
Copy link
Member

@Luke-Roy-IBM Luke-Roy-IBM left a comment

Choose a reason for hiding this comment

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

LGTM

@falkzoll
Copy link
Contributor Author

Some more changes are required, I will update this PR as soon as I have a fix for this.

@Luke-Roy-IBM Luke-Roy-IBM merged commit 6b1c048 into apache:master Aug 22, 2024
6 checks passed
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