Skip to content

[core] Add a languages section to Project #1773

@aalmiray

Description

@aalmiray

Is your feature request related to a problem? Please describe.
As of today JReleaser offers explicit support for Java projects, by means of the java section. Settings defined in that section may be reused by assemblers, deployers, and packagers. Find a way to describe settings for other languages given that JReleaser supports all kind of projects regardless of their source language.

Describe the solution you'd like
Add a languages section to project, with java being the first explicitly supported language.

project:
  languages:
    java:
      version: 21

Describe alternatives you've considered
None

Additional context
Rust and Go prefer different naming conventions for platform values. Assemblers and packagers may take advantage of knowing which is the target language in use.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestreleasedIssue has been released

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions