Skip to content

Commit 04f1ee7

Browse files
committed
[BUILD] Add Saros VS Code to gradle files
1 parent 18cd7cb commit 04f1ee7

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

build.gradle.kts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ tasks {
259259
from(project(":saros.server").tasks.findByName("jar"))
260260
into("build/distribution/server")
261261
}
262+
262263
register("sarosLsp", Copy::class) {
263264
dependsOn(
264265
":saros.core:test",
@@ -271,6 +272,18 @@ tasks {
271272
from(project(":saros.lsp").tasks.findByName("jar"))
272273
into("build/distribution/lsp")
273274
}
275+
276+
register("sarosVSCode", Copy::class) {
277+
dependsOn(
278+
"sarosLsp",
279+
":saros.vscode:packageExtension"
280+
)
281+
group = "Build"
282+
description = "Builds and tests all modules required by the Saros VS Code Extension"
283+
284+
from("vscode/vsix")
285+
into("build/distribution/vscode")
286+
}
274287

275288
register("sarosIntellij", Copy::class) {
276289
dependsOn(

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
* because the osgi bundle names had to match the project names.
88
*/
99
val prefix = "saros."
10-
listOf("core", "eclipse", "intellij", "server", "lsp", "stf", "stf.test").forEach { dir ->
10+
listOf("core", "eclipse", "intellij", "server", "lsp", "vscode", "stf", "stf.test").forEach { dir ->
1111
val projectName = prefix + dir
1212
include(projectName)
1313
project(":$projectName").projectDir = file(dir)

0 commit comments

Comments
 (0)