Skip to content

Fix deprecated Gradle configurations#93

Merged
jra-se merged 9 commits into
devfrom
gradle/fix-deprecations
May 27, 2026
Merged

Fix deprecated Gradle configurations#93
jra-se merged 9 commits into
devfrom
gradle/fix-deprecations

Conversation

@jra-se
Copy link
Copy Markdown
Contributor

@jra-se jra-se commented Apr 1, 2026

Update all Gradle configurations that are deprecated and will create conflicts for future Gradle versions

@jra-se
Copy link
Copy Markdown
Contributor Author

jra-se commented Apr 1, 2026

TODO before merge

  • fix SymTabDefinitionGradlePluginTest
  • fix invocation of Task.project at execution time (see below)

Invocation of Task.project

Invocation of Task.project at execution time has been deprecated. This will fail with an error in Gradle 10.0. This API is incompatible with the configuration cache, which will become the only mode supported by Gradle in a future release. Consult the upgrading guide for further information: https://docs.gradle.org/8.14.4/userguide/upgrading_version_7.html#task_project

This is currently used in the following configuration, that is contained in symtabdefinitiontool/stdefgradle/build.gradle as well as in cdtool/cdgradle/build.gradle

tasks.register('generateResources') {
  ext {
    propFile = file("$buildDir/generated/buildInfo.properties")
  }
  outputs.file propFile
  doLast {
    mkdir propFile.parentFile
    propFile.text = "version=$project.version"
  }
}

@jra-se jra-se marked this pull request as ready for review May 27, 2026 12:26
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 27, 2026

✔️ Changes pass the MontiVerse

Project Status
details
Project Status
montiarc
umlp_experiments
umlp_tool
sd
montifun
fd
automaton
sc
guidsl
artifacts
ocl
od
ucd
langexperiments
json
xml
cd2gui
mlc
monticore_future
cd4analysis

The MontiVerse is a collection of (internal and public) language projects.

@jra-se jra-se merged commit b8c8333 into dev May 27, 2026
10 checks passed
@jra-se jra-se deleted the gradle/fix-deprecations branch May 27, 2026 13:38
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.

1 participant