diff options
author | 2021-07-29 17:09:24 +0200 | |
---|---|---|
committer | 2021-07-29 17:09:24 +0200 | |
commit | 97ea34af2f8e5d0ca9da5dda331a9f54e580c4c6 (patch) | |
tree | 2f58b2e34609439b53e3a7ddd5337bb4733ce707 /language-model | |
parent | Appearance fixes (diff) | |
download | refinery-97ea34af2f8e5d0ca9da5dda331a9f54e580c4c6.tar.gz refinery-97ea34af2f8e5d0ca9da5dda331a9f54e580c4c6.tar.zst refinery-97ea34af2f8e5d0ca9da5dda331a9f54e580c4c6.zip |
Refactoring based on Sonar reports
Diffstat (limited to 'language-model')
-rw-r--r-- | language-model/build.gradle | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/language-model/build.gradle b/language-model/build.gradle index 56ab4a19..2d9b54b9 100644 --- a/language-model/build.gradle +++ b/language-model/build.gradle | |||
@@ -1,14 +1,10 @@ | |||
1 | configurations { | 1 | apply from: "${rootDir}/gradle/java-common.gradle" |
2 | mwe2 { | 2 | apply from: "${rootDir}/gradle/mwe2.gradle" |
3 | extendsFrom compile | ||
4 | } | ||
5 | } | ||
6 | 3 | ||
7 | dependencies { | 4 | dependencies { |
8 | compile "org.eclipse.emf:org.eclipse.emf.ecore:${ecoreVersion}" | 5 | compile "org.eclipse.emf:org.eclipse.emf.ecore:${ecoreVersion}" |
9 | mwe2 "org.eclipse.emf:org.eclipse.emf.codegen.ecore:${ecoreCodegenVersion}" | 6 | mwe2 "org.eclipse.emf:org.eclipse.emf.codegen.ecore:${ecoreCodegenVersion}" |
10 | mwe2 "org.eclipse.emf:org.eclipse.emf.mwe.utils:${mweVersion}" | 7 | mwe2 "org.eclipse.emf:org.eclipse.emf.mwe.utils:${mweVersion}" |
11 | mwe2 "org.eclipse.emf:org.eclipse.emf.mwe2.launch:${mwe2Version}" | ||
12 | mwe2 "org.eclipse.emf:org.eclipse.emf.mwe2.lib:${mwe2Version}" | 8 | mwe2 "org.eclipse.emf:org.eclipse.emf.mwe2.lib:${mwe2Version}" |
13 | mwe2 "org.eclipse.xtext:org.eclipse.xtext:${xtextVersion}" | 9 | mwe2 "org.eclipse.xtext:org.eclipse.xtext:${xtextVersion}" |
14 | mwe2 "org.eclipse.xtext:org.eclipse.xtext.xbase:${xtextVersion}" | 10 | mwe2 "org.eclipse.xtext:org.eclipse.xtext.xbase:${xtextVersion}" |
@@ -35,12 +31,4 @@ task generateEPackage(type: JavaExec) { | |||
35 | compileJava.dependsOn(generateEPackage) | 31 | compileJava.dependsOn(generateEPackage) |
36 | clean.dependsOn(cleanGenerateEPackage) | 32 | clean.dependsOn(cleanGenerateEPackage) |
37 | 33 | ||
38 | eclipse { | 34 | eclipse.project.natures += ['org.eclipse.sirius.nature.modelingproject', 'org.eclipse.pde.PluginNature'] |
39 | project { | ||
40 | natures += ['org.eclipse.sirius.nature.modelingproject', 'org.eclipse.pde.PluginNature'] | ||
41 | } | ||
42 | |||
43 | classpath { | ||
44 | plusConfigurations += [configurations.mwe2] | ||
45 | } | ||
46 | } \ No newline at end of file | ||