Skip to content

Commit

Permalink
chore: update gradle plugin versions and intellij platform version an…
Browse files Browse the repository at this point in the history
…d add base github action.
  • Loading branch information
chrissimon-au committed Mar 9, 2024
1 parent 44803ca commit 56e48c0
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 58 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/contextive-runtime-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,33 @@ jobs:
with:
name: 'Contextive VsCode Extension'
reporter: java-junit

intellij:
name: IntelliJ Plugin
needs:
- language-server
runs-on: ${{ inputs.os }}
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '21'

# - name: Language Server Artifact
# uses: actions/download-artifact@v3
# with:
# name: Contextive.LanguageServer-${{ inputs.dotnet_runtime }}
# path: src/

- name: Build
run: ./gradlew build
working-directory: src/intellij/contextive

# - uses: ./.github/actions/upload-reports
# if: always()
# with:
# name: 'Contextive VsCode Extension'
# reporter: java-junit
1 change: 1 addition & 0 deletions .github/workflows/contextive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
paths:
- 'src/**'
- '.github/workflows/contextive.yml'
- '.github/workflows/contextive-runtime-build.yml'
- '.github/workflows/get-matrix.yml'
- '.github/build-matrix.yml'
- '.github/actions/**'
Expand Down
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
"Expecto",
"fgrep",
"formulahendry",
"gradlew",
"hbenl",
"Intelli",
"intellij",
"ionide",
"MADR",
"paket",
Expand Down
1 change: 1 addition & 0 deletions src/intellij/contextive/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ build/
!**/src/test/**/build/

### IntelliJ IDEA ###
.idea/workspace.xml
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
Expand Down
1 change: 1 addition & 0 deletions src/intellij/contextive/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/intellij/contextive/.idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 0 additions & 51 deletions src/intellij/contextive/.idea/workspace.xml

This file was deleted.

12 changes: 6 additions & 6 deletions src/intellij/contextive/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
plugins {
id("java")
id("org.jetbrains.kotlin.jvm") version "1.9.0"
id("org.jetbrains.intellij") version "1.15.0"
id("org.jetbrains.kotlin.jvm") version "1.9.23"
id("org.jetbrains.intellij") version "1.17.2"
}

group = "tech.contextive"
version = "1.0-SNAPSHOT"
version = "1.11.0-beta"

repositories {
mavenCentral()
Expand All @@ -14,7 +14,7 @@ repositories {
// Configure Gradle IntelliJ Plugin
// Read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
intellij {
version.set("2022.2.5")
version.set("2023.3.2")
type.set("IC") // Target IDE Platform

plugins.set(listOf(/* Plugin Dependencies */))
Expand All @@ -31,8 +31,8 @@ tasks {
}

patchPluginXml {
sinceBuild.set("222")
untilBuild.set("232.*")
sinceBuild.set("233")
untilBuild.set("233.*")
}

signPlugin {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 56e48c0

Please sign in to comment.