diff options
author | 2021-11-16 21:46:06 +0100 | |
---|---|---|
committer | 2021-11-16 21:46:06 +0100 | |
commit | 234965e9e167f510ab38b0fcdad3bd2846691339 (patch) | |
tree | 587d47764d6cd4b5a049c7eb3699be8af6ddca43 /language/build.gradle | |
parent | chore(web): fix Sonar issue (diff) | |
download | refinery-234965e9e167f510ab38b0fcdad3bd2846691339.tar.gz refinery-234965e9e167f510ab38b0fcdad3bd2846691339.tar.zst refinery-234965e9e167f510ab38b0fcdad3bd2846691339.zip |
build: use version catalogs
Gradle version catalogs allow centralized management of dependency
artifact coordinates using a toml file.
Previously, we use the gradle.properties file, which cannot manage group
and name coordinates, only versions.
Node and yarn versions still have to be in gradle.properties, because
they do not correspond to any coordiates of a maven artifact.
Diffstat (limited to 'language/build.gradle')
-rw-r--r-- | language/build.gradle | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/language/build.gradle b/language/build.gradle index 7b9f8d75..df71a85d 100644 --- a/language/build.gradle +++ b/language/build.gradle | |||
@@ -6,16 +6,15 @@ apply from: "${rootDir}/gradle/mwe2.gradle" | |||
6 | apply from: "${rootDir}/gradle/xtend.gradle" | 6 | apply from: "${rootDir}/gradle/xtend.gradle" |
7 | 7 | ||
8 | dependencies { | 8 | dependencies { |
9 | api platform("org.eclipse.xtext:xtext-dev-bom:${xtextVersion}") | 9 | api platform(libs.xtext.bom) |
10 | api "org.eclipse.xtext:org.eclipse.xtext:${xtextVersion}" | 10 | api libs.ecore |
11 | api "org.eclipse.xtext:org.eclipse.xtext.xbase:${xtextVersion}" | 11 | api libs.xtext.core |
12 | api "org.eclipse.emf:org.eclipse.emf.ecore:${ecoreVersion}" | 12 | api libs.xtext.xbase |
13 | api project(':refinery-language-model') | 13 | api project(':refinery-language-model') |
14 | testFixturesApi "org.eclipse.xtext:org.eclipse.xtext.testing:${xtextVersion}" | 14 | testFixturesApi libs.xtext.testing |
15 | testFixturesApi testFixtures(project(':refinery-language-model')) | 15 | testFixturesApi testFixtures(project(':refinery-language-model')) |
16 | mwe2 "org.eclipse.xtext:org.eclipse.xtext.common.types:${xtextVersion}" | 16 | mwe2 libs.xtext.generator |
17 | mwe2 "org.eclipse.xtext:org.eclipse.xtext.xtext.generator:${xtextVersion}" | 17 | mwe2 libs.xtext.generator.antlr |
18 | mwe2 "org.eclipse.xtext:xtext-antlr-generator:${xtextAntlrGeneratorVersion}" | ||
19 | } | 18 | } |
20 | 19 | ||
21 | sourceSets { | 20 | sourceSets { |