Skip to content

Commit

Permalink
Merge pull request #4756 from malinthar/add-ls-simulator
Browse files Browse the repository at this point in the history
Add missing configurations for LS Simulator
  • Loading branch information
malinthar authored Jul 28, 2023
2 parents a6fe318 + cfedd93 commit 2c5dea3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion language-server-simulator/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ ext {
shortVersion = "${version}".split("-")[0]
}

configurations {
jBallerinaDistribution
ballerinaDistribution
}

dependencies {
implementation "org.slf4j:slf4j-api:${project.slf4jApiVersion}"
implementation group: 'org.ballerinalang', name: 'ballerina-lang', version: "${ballerinaLangVersion}"
Expand All @@ -25,9 +30,14 @@ dependencies {
}
implementation "org.slf4j:slf4j-jdk14:${slf4jJdk14Version}"
implementation "com.google.code.gson:gson:${gsonVersion}"

jBallerinaDistribution project(path: ":ballerina", configuration: "jBallerinaDistribution")
ballerinaDistribution project(path: ":ballerina", configuration: "ballerinaDistribution")
}

task unpackBallerinaDistribution(type: Copy) {
dependsOn configurations.jBallerinaDistribution
dependsOn configurations.ballerinaDistribution
def sourceDir = "${buildDir}/${distributionDir}"
from zipTree { "${rootDir}/ballerina/build/distributions/ballerina-${version}-swan-lake.zip" }
new File("${sourceDir}").mkdirs()
Expand All @@ -51,7 +61,6 @@ task downloadBalTestProject(type: Download) {
dest new File("${buildDir}/nballeirna-src.zip")
}


task downloadBalFHIRTestProject(type: Download) {
// Download nBallerina latest tag
src "https://github.com/ballerina-platform/module-ballerinax-health.fhir.r4/archive/refs/tags/uscore-v1.0.5.zip"
Expand Down

0 comments on commit 2c5dea3

Please sign in to comment.