Skip to content

Commit 2e3ee60

Browse files
committed
build.gradle: load only necessary plugins
1 parent a117951 commit 2e3ee60

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

build.gradle

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -324,12 +324,8 @@ ext.allProjectDirectoriesInDependencyOrder = [
324324
'org.mpsqa.testing',
325325
'org.mpsqa.unused'
326326
].collect { file("code/languages/$it") }
327-
ext.mpsPluginRoots = new File(mpsHomeDir, "plugins").listFiles(
328-
new FileFilter() {
329-
public boolean accept(File file) {
330-
return file.isDirectory();
331-
}
332-
})
327+
ext.mpsPluginRoots = ['mps-build', 'mps-console', 'mps-trove', 'mps-modelchecker', 'mps-tooltips']
328+
.collect { new File(mpsHomeDir, "plugins/$it") }
333329
ext.jbrJavaLauncher = tasks.named('downloadJbr', DownloadJbrForPlatform).flatMap { it.javaLauncher }
334330

335331
tasks.register('migrate', MpsMigrate) {

0 commit comments

Comments
 (0)