Skip to content

Commit 38f9856

Browse files
authored
Remove IJ plugin (#6574)
* Remove IJ plugin * Remove test project reference
1 parent c898cdf commit 38f9856

File tree

371 files changed

+1
-19898
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

371 files changed

+1
-19898
lines changed

.github/workflows/pr.yml

Lines changed: 1 addition & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ jobs:
8787
with:
8888
name: tests-integration.zip
8989
path: diagnostics.zip
90+
9091
ios-tests:
9192
runs-on: macos-14
9293
steps:
@@ -96,101 +97,3 @@ jobs:
9697
distribution: 'temurin'
9798
java-version: 17
9899
- run: /Applications/Xcode_16.2.0.app/Contents/Developer/usr/bin/xcodebuild -allowProvisioningUpdates -project tests/com.apollographql.iostest/com.apollographql.iostest.xcodeproj -configuration Debug -scheme com.apollographql.iostest -sdk iphoneos -destination name='iPhone 16' test -test-timeouts-enabled YES
99-
intellij-plugin:
100-
if: "!startsWith(github.head_ref, 'release-')"
101-
name: Build IntelliJ Plugin
102-
runs-on: ubuntu-latest
103-
outputs:
104-
version: ${{ steps.properties.outputs.version }}
105-
steps:
106-
# Free GitHub Actions Environment Disk Space
107-
- name: Free Disk Space
108-
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be #v1.3.1
109-
with:
110-
tool-cache: false
111-
android: false
112-
dotnet: true
113-
haskell: true
114-
large-packages: true
115-
docker-images: true
116-
swap-storage: true
117-
118-
# Check out current repository
119-
- name: Fetch Sources
120-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7
121-
122-
# Setup Java environment for the next steps
123-
- name: Setup Java
124-
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 #v4.2.1
125-
with:
126-
distribution: 'temurin'
127-
java-version: 23
128-
129-
# Set environment variables
130-
- name: Export Properties
131-
id: properties
132-
shell: bash
133-
run: |
134-
PROPERTIES="$(./gradlew :intellij-plugin:properties --console=plain -q)"
135-
VERSION="$(echo "$PROPERTIES" | grep "^version:" | cut -f2- -d ' ')"
136-
NAME="$(echo "$PROPERTIES" | grep "^pluginName:" | cut -f2- -d ' ')"
137-
138-
echo "::set-output name=version::$VERSION"
139-
echo "::set-output name=pluginVerifierHomeDir::~/.pluginVerifier"
140-
141-
./gradlew :intellij-plugin:printProductsReleases # prepare list of IDEs for Plugin Verifier
142-
143-
# Trigger code generation in test project, as the plugin's tests depend on it
144-
- name: Test project codegen
145-
run: ./gradlew -p tests :intellij-plugin-test-project:generateApolloSources
146-
147-
# Run tests
148-
- name: Run Tests
149-
run: ./gradlew :intellij-plugin:check
150-
151-
# Collect Tests Result of failed tests
152-
- name: Collect Tests Result
153-
if: ${{ failure() }}
154-
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 #v4.3.3
155-
with:
156-
name: tests-result
157-
path: ${{ github.workspace }}/intellij-plugin/build/reports/tests
158-
159-
# Cache Plugin Verifier IDEs
160-
- name: Setup Plugin Verifier IDEs Cache
161-
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #v4.2.0
162-
with:
163-
path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides
164-
key: plugin-verifier-${{ hashFiles('intellij-plugin/build/listProductsReleases.txt') }}
165-
166-
# Run Verify Plugin task and IntelliJ Plugin Verifier tool
167-
- name: Run Plugin Verification tasks
168-
env:
169-
JAVA_TOOL_OPTIONS: -Xmx4g -Dlogback.configurationFile=${{ github.workspace }}/intellij-plugin/logback.xml
170-
run: ./gradlew :intellij-plugin:verifyPlugin -Pplugin.verifier.home.dir=${{ steps.properties.outputs.pluginVerifierHomeDir }}
171-
172-
# Collect Plugin Verifier Result
173-
- name: Collect Plugin Verifier Result
174-
if: ${{ always() }}
175-
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 #v4.3.3
176-
with:
177-
name: pluginVerifier-result
178-
path: ${{ github.workspace }}/intellij-plugin/build/reports/pluginVerifier
179-
180-
# Prepare plugin archive content for creating artifact
181-
- name: Prepare Plugin Artifact
182-
id: artifact
183-
shell: bash
184-
run: |
185-
cd ${{ github.workspace }}/intellij-plugin/build/distributions
186-
FILENAME=`ls *.zip`
187-
unzip "$FILENAME" -d content
188-
189-
echo "::set-output name=filename::${FILENAME:0:-4}"
190-
191-
# Store already-built plugin as an artifact for downloading
192-
- name: Upload artifact
193-
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 #v4.3.3
194-
with:
195-
name: ${{ steps.artifact.outputs.filename }}
196-
path: ./intellij-plugin/build/distributions/content/*/*

.github/workflows/publish-ij-plugin-snapshot.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/tag.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,3 @@ jobs:
3131
COM_APOLLOGRAPHQL_PROFILE_ID: ${{ secrets.COM_APOLLOGRAPHQL_PROFILE_ID }}
3232
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
3333
GPG_PRIVATE_KEY_PASSWORD: ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }}
34-
35-
publish-intellij-plugin:
36-
name: Publish IntelliJ plugin
37-
runs-on: ubuntu-latest
38-
steps:
39-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7
40-
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 #v4.2.1
41-
with:
42-
distribution: 'temurin'
43-
java-version: 17
44-
- name: Publish to JetBrains marketplace
45-
run: ./gradlew --no-build-cache :intellij-plugin:publishPlugin
46-
env:
47-
PUBLISH_TOKEN: ${{ secrets.IJ_PLUGIN_PUBLISH_TOKEN }}
48-
CERTIFICATE_CHAIN: ${{ secrets.IJ_PLUGIN_CERTIFICATE_CHAIN }}
49-
PRIVATE_KEY: ${{ secrets.IJ_PLUGIN_PRIVATE_KEY }}
50-
PRIVATE_KEY_PASSWORD: ${{ secrets.IJ_PLUGIN_PRIVATE_KEY_PASSWORD }}

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,3 @@ docs.json
4545

4646
# Local Netlify folder
4747
.netlify
48-
49-
# IntelliJ plugin
50-
intellij-plugin/mockJDK
51-
.intellijPlatform

build-logic/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ dependencies {
3535
implementation(libs.kotlinx.serialization.json)
3636
implementation(libs.poet.java)
3737
implementation(libs.poet.kotlin)
38-
implementation(libs.intellij.platform.plugin)
39-
implementation(libs.intellij.changelog)
4038
implementation(libs.androidx.lint.gradle.plugin)
4139
implementation(libs.kotlin.plugin.compose)
4240

gradle/libraries.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ guava-jre = { group = "com.google.guava", name = "guava", version.ref = "guava"
113113
http4k-bom = "org.http4k:http4k-bom:5.8.0.0"
114114
http4k-core = { module = "org.http4k:http4k-core" }
115115
http4k-server-jetty = { module = "org.http4k:http4k-server-jetty" }
116-
intellij-platform-plugin = "org.jetbrains.intellij.platform:intellij-platform-gradle-plugin:2.6.0"
117-
intellij-changelog = "org.jetbrains.intellij.plugins:gradle-changelog-plugin:2.0.0"
118116
jetbrains-annotations = { group = "org.jetbrains", name = "annotations", version.ref = "jetbrains-annotations" }
119117
junit = { group = "junit", name = "junit", version.ref = "junit" }
120118
kotlin-allopen = { group = "org.jetbrains.kotlin", name = "kotlin-allopen", version.ref = "kotlin-plugin" }

gradle/repositories.gradle.kts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,6 @@ listOf(pluginManagement.repositories, dependencyResolutionManagement.repositorie
4242
includeModule("com.gradle.publish", "plugin-publish-plugin")
4343
includeModule("com.github.ben-manes", "gradle-versions-plugin")
4444
includeModule("com.gradle", "develocity-gradle-plugin")
45-
46-
// For org.jetbrains.intellij.platform
47-
includeModule("gradle.plugin.org.jetbrains.gradle.plugin.idea-ext", "gradle-idea-ext")
48-
49-
// For org.jetbrains.changelog
50-
includeModule("org.jetbrains.changelog", "org.jetbrains.changelog.gradle.plugin")
51-
includeModule("org.jetbrains.intellij.plugins", "gradle-changelog-plugin")
52-
53-
// For org.jetbrains.intellij.platform
54-
includeModule("org.jetbrains.intellij.platform", "intellij-platform-gradle-plugin")
55-
56-
// For org.jetbrains.grammarkit
57-
includeModule("org.jetbrains.grammarkit", "org.jetbrains.grammarkit.gradle.plugin")
58-
includeModule("org.jetbrains.intellij.plugins", "gradle-grammarkit-plugin")
5945
}
6046
}
6147
}

intellij-plugin/README.md

Lines changed: 0 additions & 54 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)