diff options
Diffstat (limited to 'buildSrc/src/main/kotlin/refinery-mwe2.gradle.kts')
-rw-r--r-- | buildSrc/src/main/kotlin/refinery-mwe2.gradle.kts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/buildSrc/src/main/kotlin/refinery-mwe2.gradle.kts b/buildSrc/src/main/kotlin/refinery-mwe2.gradle.kts new file mode 100644 index 00000000..26963837 --- /dev/null +++ b/buildSrc/src/main/kotlin/refinery-mwe2.gradle.kts | |||
@@ -0,0 +1,18 @@ | |||
1 | import org.gradle.accessors.dm.LibrariesForLibs | ||
2 | import org.gradle.plugins.ide.eclipse.model.EclipseModel | ||
3 | |||
4 | apply(plugin = "refinery-java-conventions") | ||
5 | |||
6 | val mwe2: Configuration by configurations.creating { | ||
7 | isCanBeConsumed = false | ||
8 | isCanBeResolved = true | ||
9 | extendsFrom(configurations["implementation"]) | ||
10 | } | ||
11 | |||
12 | val libs = the<LibrariesForLibs>() | ||
13 | |||
14 | dependencies { | ||
15 | mwe2(libs.mwe2.launch) | ||
16 | } | ||
17 | |||
18 | the<EclipseModel>().classpath.plusConfigurations += mwe2 | ||