Skip to content

Commit

Permalink
Merge pull request #786 from anusreelakshmi934/Lsp4ijIssue#758
Browse files Browse the repository at this point in the history
Build lsp4ij plugin from main branch to use in the LTI automated tests - Issue#758
  • Loading branch information
anusreelakshmi934 authored May 30, 2024
2 parents ee1c10d + 9f37200 commit abd9e6e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,22 @@ jobs:
uses: actions/checkout@v3
with:
path: liberty-tools-intellij
- name: 'Checkout lsp4ij'
uses: actions/checkout@v3
with:
repository: redhat-developer/lsp4ij
path: lsp4ij
ref: main
- name: 'Install required integration test software'
working-directory: ./liberty-tools-intellij
run: bash ./src/test/resources/ci/scripts/setup.sh
- name: 'Build Lsp4ij'
working-directory: ./lsp4ij
run: bash ./gradlew buildPlugin
- name: 'Unzip lsp4ij file'
working-directory: ./lsp4ij/build/distributions
run: |
unzip -o '*.zip' -d .
- name: 'Build Liberty-Tools-Intellij'
working-directory: ./liberty-tools-intellij
run: bash ./gradlew buildPlugin
Expand Down
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ sourceCompatibility = 17
targetCompatibility = 17

def remoteRobotVersion = "0.11.18"
def lsp4ijNightlyVersion = '0.0.1-20240518-012816'

repositories {
mavenCentral()
Expand Down Expand Up @@ -140,7 +139,7 @@ intellij {
// For a full list of IntelliJ IDEA releases please see https://www.jetbrains.com/intellij-repository/releases
version = '2024.1.1'

plugins = ['java', 'maven', 'gradle-java', 'properties', 'terminal', 'org.jetbrains.idea.maven', 'com.intellij.gradle', 'com.redhat.devtools.lsp4ij:' + lsp4ijNightlyVersion + '@nightly']
plugins = ['java', 'maven', 'gradle-java', 'properties', 'terminal', 'org.jetbrains.idea.maven', 'com.intellij.gradle', file("../lsp4ij/build/distributions/LSP4IJ/")]
updateSinceUntilBuild = false
}

Expand Down

0 comments on commit abd9e6e

Please sign in to comment.