Skip to content

Commit

Permalink
Merge pull request #5653 from nipunayf/add-sequence-model-jars
Browse files Browse the repository at this point in the history
Copy sequence model diagram JARs to the distribution
  • Loading branch information
hasithaa authored Sep 18, 2024
2 parents 8d54257 + de58d9d commit 0462bf0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ballerina/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,17 @@ task copyOtherRepos(type: Copy) {
into "lib/tools/lang-server/lib/"
}
}

/* Sequence Model Generator Artifacts */
configurations.devTools.resolvedConfiguration.resolvedArtifacts.each { artifact ->
def artifactExtractedPath = "${buildDir}/target/extracted-distributions/" + artifact.name + "-zip"
from("${artifactExtractedPath}/sequence-model-generator/libs") {
into "bre/lib/"
}
from("${artifactExtractedPath}/sequence-model-generator/ls-libs") {
into "lib/tools/lang-server/lib/"
}
}
}

task buildDistRepo(type: JavaExec) {
Expand Down

0 comments on commit 0462bf0

Please sign in to comment.