Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0 #1431

Closed
wants to merge 366 commits into from
Closed

2.0 #1431

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
366 commits
Select commit Hold shift + click to select a range
6dee436
Tests: Fixed paths check on Windows
hsz Jan 11, 2024
58f4557
Drop ListBundledPluginsTask
hsz Jan 11, 2024
de4c604
org.gradle.toolchains.foojay-resolver-convention 0.7.0
hsz Jan 11, 2024
135a51a
Move `Version` to the `org.jetbrains.intellij.platform.gradle.utils` …
hsz Jan 12, 2024
3e30bce
Adjust product releases list
hsz Jan 13, 2024
cfa75d7
Merge remote-tracking branch 'origin/master' into 2.0
hsz Jan 13, 2024
c1bb124
Adjustments after merge with master
hsz Jan 13, 2024
570f28e
Rewrite the `ProductReleasesValueSource`, bring back `PrintProductsRe…
hsz Jan 16, 2024
68a1ce0
Tests: fix line separators for Windows
hsz Jan 16, 2024
c486aa9
Introduce new logger
hsz Jan 17, 2024
e6bc9b6
Remove unused `cached` helper method
hsz Jan 17, 2024
39af2bd
Move `String.toIntelliJPlatformType()` to the `org.jetbrains.intellij…
hsz Jan 17, 2024
1def2f7
Move `String.toVersion()` to the `org.jetbrains.intellij.platform.gra…
hsz Jan 17, 2024
510cfe8
Move `IntelliJPlatformType` to the `org.jetbrains.intellij.platform.g…
hsz Jan 17, 2024
ac6bb1d
Move `Gradle.projectCacheDir` to `extensions.kt` near its direct usage
hsz Jan 17, 2024
9dd9b79
Move `Project.sourceSets` to `PatchPluginXmlTask`
hsz Jan 17, 2024
33fc5a6
Utils cleanup
hsz Jan 17, 2024
e8e3741
Utils cleanup
hsz Jan 17, 2024
ed8734b
Naming is hard
hsz Jan 17, 2024
becef26
cleanup
hsz Jan 17, 2024
c94c5a7
cleanup tasks and plugins
hsz Jan 17, 2024
228bfef
Tests: adjust tasks renaming
hsz Jan 17, 2024
5261dfa
Drop: `IntelliJPlatformPluginLibrary`, `IntelliJPluginExtension`, `Op…
hsz Jan 17, 2024
b086e93
Remove obsolete classes
hsz Jan 17, 2024
db14c40
Remove obsolete classes, switch to new logging approach
hsz Jan 17, 2024
24f5140
Logger cleanup
hsz Jan 18, 2024
99234b1
Merge remote-tracking branch 'origin/master' into 2.0
hsz Jan 18, 2024
6896b29
Move `*Aware` interfaces to `org.jetbrains.intellij.platform.gradle.t…
hsz Jan 22, 2024
347e77a
Introduce `Registrable` interface for tasks' companion object
hsz Jan 22, 2024
c139245
Code documentation; small refactorings; fix the `CustomIntelliJPlatfo…
hsz Jan 24, 2024
aa88c69
Code documentation.
hsz Jan 24, 2024
faada21
Code documentation.
hsz Jan 29, 2024
4b5c90e
Review and document `ExecutableResolver`
hsz Jan 29, 2024
f6c7e1f
Code documentation
hsz Jan 29, 2024
433348e
Copyrights update
hsz Jan 29, 2024
3ab007a
Copyrights update
hsz Jan 29, 2024
b28034f
Tests: handle missing ZIP Signer dependency
hsz Jan 30, 2024
efd2ca2
Restructure plugins
hsz Jan 30, 2024
f5a242b
GitHub Actions: add `macos-14` to OSes list
hsz Jan 31, 2024
d28f404
Docs and minor changes to the code structure.
hsz Feb 5, 2024
a95b9b1
Docs
hsz Feb 5, 2024
e0233f4
Docs
hsz Feb 5, 2024
0c2eac6
Merge remote-tracking branch 'origin/master' into 2.0
hsz Feb 5, 2024
62b876a
resolve jbr 21 to jcef jbr
hsz Feb 5, 2024
5e14bca
Tests fixes
hsz Feb 5, 2024
b42602a
GitHub Actions: Single Unit Test workflow tests artifact name collisi…
hsz Feb 6, 2024
18af836
Docs, constants cleanup, tasks cleanup
hsz Feb 6, 2024
fe643d3
Integration tests cleanup, `jarSearchableOptions` refactoring
hsz Feb 7, 2024
69ae957
Minor cleanup
hsz Feb 8, 2024
7f88936
Elevate `ProductInfo` instance to the root of `IntelliJPlatformExtens…
hsz Feb 8, 2024
cbb7cc5
Introduce `ProductInfoResolver`
hsz Feb 8, 2024
d015bb1
Rename `ExecutableResolver` to `PathResolver`
hsz Feb 8, 2024
49a6374
JarSearchableOptionsTask relies now on BuildSearchableOptionsTask run
hsz Feb 8, 2024
8b9ebac
Allow for unsetting the until-build with `provider { null }` value pa…
hsz Feb 8, 2024
0a47e96
IntelliJPlatformDependenciesExtension: added `plugin(notation)`, `plu…
hsz Feb 8, 2024
071da76
IntelliJPlatformDependenciesExtension: handle `plugins` and `bundledP…
hsz Feb 8, 2024
4737b26
IntelliJPlatformDependenciesExtension: cleanup
hsz Feb 9, 2024
810784a
JarSearchableOptionsTask: fixed `onlyIf` condition check
hsz Feb 9, 2024
f7a4b31
IntelliJPlatformRepositoriesExtension: rename `recommended` to `defau…
hsz Feb 11, 2024
aeb0bdd
IntelliJPlatformRepositoriesExtension: rename `ivy` to `localPlatform…
hsz Feb 11, 2024
1743660
IntelliJPluginConstants.PLUGIN_GROUP_NAME renamed to `intellij platfo…
hsz Feb 11, 2024
140964d
Bring back `channels` property when publishing a plugin
hsz Feb 12, 2024
27904a2
IntelliJPlatformDependenciesExtension: cleanup docs
YannCebron Feb 12, 2024
82d6c5b
Docs
hsz Feb 12, 2024
efbe7e1
Docs
hsz Feb 13, 2024
25b75ac
Migration plugin (`org.jetbrains.intellij.platform.migration`)
hsz Feb 13, 2024
8e9c2f2
IntelliJPlatformMigrationPlugin cleanup
hsz Feb 14, 2024
968ebc3
Rename `IntelliJPlatformCorePlugin` to `IntelliJPlatformBasePlugin`
hsz Feb 14, 2024
521f73d
IntelliJPlatformMigrationPlugin: introduced more cases
hsz Feb 15, 2024
c604281
Fixed `intellij.plugins` migration example
hsz Feb 15, 2024
1d78ed5
Introduce `PluginAware`, bring back the `idea.required.plugins.id` ar…
hsz Feb 19, 2024
f2e153e
Introduce `PluginAware`, bring back the `idea.required.plugins.id` ar…
hsz Feb 19, 2024
1e68de8
Resolve IntelliJ Platform path and ProductInfo safely
hsz Feb 19, 2024
c55059e
Resolve IntelliJ Platform path and ProductInfo safely, minor fixes
hsz Feb 19, 2024
2d94a84
Use project cache directory for resolving the localPlatformArtifacts.
hsz Feb 19, 2024
c602c2a
Fixed tests
hsz Feb 19, 2024
1f1367e
Integration tests minor change
hsz Feb 19, 2024
e5fb16a
Provide direct access to the IntelliJ Platform dependency artifact path
hsz Feb 19, 2024
d7b1de7
Merge remote-tracking branch 'origin/master' into 2.0
hsz Feb 19, 2024
44a05f6
ProductReleasesValueSource: Handle the case when resources are not av…
hsz Feb 20, 2024
ebc856e
IntelliJPlatformBasePlugin: do not set the default plugin `IntelliJPl…
hsz Feb 20, 2024
dc3f316
GitHub Actions: rename `gradle/gradle-build-action@v2` to `gradle/act…
hsz Feb 20, 2024
f2bcc26
Better handle empty plugin IDs passed to `plugins` and `bundledPlugins`
hsz Feb 20, 2024
61bf9c8
Update `setupDependencies` task deprecation message
hsz Feb 20, 2024
55ee367
Merge remote-tracking branch 'origin/master' into 2.0
hsz Feb 20, 2024
a26fe23
Introduce `BuildFeature.DOWNLOAD_SOURCES` which controls the `idea.mo…
hsz Feb 20, 2024
72b6f84
KDocs
hsz Feb 20, 2024
beae012
Merge remote-tracking branch 'origin/master' into 2.0
hsz Feb 20, 2024
d6ef266
Resolve the pluginName using `PluginAware`, make `PrepareSandboxTask`…
hsz Feb 21, 2024
a6dd0f2
Introduce `intellijPlatform.projectName` property, drop the `PluginAw…
hsz Feb 22, 2024
17416f3
IntelliJPlatformDependenciesExtension: simplify helper methods
hsz Feb 22, 2024
5dc060b
IntelliJPlatformDependenciesExtension: cleanup
hsz Feb 22, 2024
a5d28a7
IntelliJPlatformRepositoriesExtension: introduce `intellijDependencie…
hsz Feb 22, 2024
f3eff49
code cleanup
hsz Feb 22, 2024
0f718a8
Fixed `Execution failed for CollectorTransformer`
hsz Feb 22, 2024
97102f1
Fixed IntelliJPlatformArgumentProvider flow
hsz Feb 23, 2024
d0ea9cd
Merge remote-tracking branch 'origin/master' into 2.0
hsz Feb 23, 2024
fc81796
Add `IntelliJPlatformType.WebStorm` and relevant dependency helpers
hsz Feb 23, 2024
e4aee2f
IntelliJPlatformDependenciesExtension cleanup
hsz Feb 27, 2024
27fbc38
Code instrumentation
hsz Feb 27, 2024
8564a67
.IntelliJPlatformRepositoriesExtension.releases: better name
YannCebron Feb 27, 2024
d1fb15c
IntelliJPlatformMigrationPlugin: fix some messages
YannCebron Feb 27, 2024
b119a18
improve diagnostic messages
YannCebron Feb 27, 2024
d62e8a7
improve diagnostic messages
YannCebron Feb 27, 2024
86b757c
Tests: disable instrumentation
hsz Feb 27, 2024
bf982f6
IntelliJPlatformDependenciesExtension: introduce `instrumentationTool…
hsz Feb 27, 2024
0b6add8
VerifyPluginConfigurationTaskSpec: reword message about Kotlin Corout…
YannCebron Feb 27, 2024
8955589
VerifyPluginConfigurationTaskSpec: add link for Kotlin Coroutines error
YannCebron Feb 27, 2024
e1ed117
PublishPluginTaskSpec.fail publishing if token is missing: adjust tes…
YannCebron Feb 27, 2024
5ef9371
IntelliJPluginSpecBase.disableDebug: fix typo
YannCebron Feb 27, 2024
3376d7a
Doc links: update, add TODOs
YannCebron Feb 27, 2024
1634f63
Fixed `IntelliJPlatformMigrationPlugin` verification issues
hsz Feb 27, 2024
67259a7
Gradle 8.6
YannCebron Feb 27, 2024
18f5be6
Kotlin 1.9.22
YannCebron Feb 27, 2024
29db178
GH workflows: add README
YannCebron Feb 27, 2024
6aa2c42
GH workflows: use Gradle 8.6
YannCebron Feb 27, 2024
5661792
GH workflows: README update
YannCebron Feb 27, 2024
d2aa31d
fix VerifyPluginTaskSpec.run plugin verifier in offline mode
YannCebron Feb 27, 2024
1922a4f
VerifyPluginTaskSpec: add TODO
YannCebron Feb 27, 2024
cba6647
`IntelliJPlatformExtension.VerifyPlugin.Ides.recommended` uses the no…
hsz Feb 27, 2024
5a0234a
Move `IntelliJPluginVerifierResolver`, `MarketplaceZipSignerResolver`…
hsz Feb 27, 2024
3245034
Resolvers refactoring
hsz Feb 27, 2024
e980476
Fixed tests failing due to messages mismatch.
hsz Feb 27, 2024
90a7504
Rename `IntelliJPluginConstants` to `Constants`
hsz Feb 27, 2024
6442f92
Resolvers refactoring
hsz Feb 28, 2024
a9ca5d6
INTEGRATION_TESTS.md: cleanup
YannCebron Feb 28, 2024
afbeb32
Tests: print the test build directory path
hsz Feb 28, 2024
5672084
Use `Path.absolutePathString` instead of `Path.pathString`
hsz Feb 28, 2024
d66b7e2
[build] gradle.properties reformat
YannCebron Feb 29, 2024
07e1ff8
[build] remove obsolete property
YannCebron Feb 29, 2024
29a389f
PathResolver: improve/fix logging, adjust tests
YannCebron Feb 29, 2024
02e289e
SignPluginTaskSpec: remove obsolete suppression
YannCebron Feb 29, 2024
0be61d5
JetBrainsIdesReleases: fix package
YannCebron Feb 29, 2024
91889bf
PathResolver: cleanup
YannCebron Feb 29, 2024
b7e160e
tasks.kt: cleanup
YannCebron Feb 29, 2024
1c3fc0a
IntelliJPlatformMigrationPlugin.kt: cleanup
YannCebron Feb 29, 2024
99d74d7
[build] enable build cache
YannCebron Feb 29, 2024
51e220e
PluginsCache: add TODO
YannCebron Feb 29, 2024
5f40c08
[build] remove duplicated Maven Central repository
YannCebron Feb 29, 2024
3005cf2
[build] remove obsolete dependency on gradleIdeaExt plugin
YannCebron Feb 29, 2024
93fbe55
Introduce `Constants.VERSION_CURRENT` used for declaring dependencies
hsz Feb 29, 2024
5f003c2
`tasks.kt` cleanup
hsz Feb 29, 2024
c827da6
introduce tasks companions: `org.jetbrains.intellij.platform.gradle.t…
hsz Feb 29, 2024
10df0a9
CollectorTransformer: pick only jars listed in the `product-info.jar`
hsz Feb 29, 2024
e98e0a8
code cleanup
hsz Feb 29, 2024
1d14471
Introduce `testFramework()` dependencies helper
hsz Feb 29, 2024
9985b72
Introduce `Path.takeIfExists()` to satisfy Gradle configuration cache.
hsz Feb 29, 2024
46f4570
New approach for configuring `test` and `testIde` tasks.
hsz Feb 29, 2024
78836dc
Introduce `TestFrameworkType` for `testFramework(type, version)` depe…
hsz Feb 29, 2024
4cf0f5a
Use Gradle Kotlin DSL shorthands
hsz Mar 1, 2024
44d6032
Rename `org.jetbrains.intellij.platform.gradle.provider` to `org.jetb…
hsz Mar 1, 2024
ade6fae
Move `FileCollection.platformPath()` to `utils.kt`
hsz Mar 1, 2024
f44c3d3
`TestFrameworkType`: drop `Common` and `Core`, rename `Default` to `J…
hsz Mar 1, 2024
cc974d0
Introduce `Coordinates` model
hsz Mar 2, 2024
d2e8f98
Don't call project indirectly in settings plugin
hfhbd Mar 2, 2024
06675e9
Delay adding the `localPlatformArtifacts` repository until the `rootP…
hsz Mar 3, 2024
f047284
Use the `[rootProject]/.intellijPlatform` as a plugin cache directory
hsz Mar 3, 2024
3c4f8d1
Make `intellijPlatform.platformPath` and `intellijPlatform.productInf…
hsz Mar 4, 2024
84d7cc7
Fixed resolving `Gradle.localPlatformArtifacts`
hsz Mar 4, 2024
8fe3e20
Fixed configuration cache issues
hsz Mar 4, 2024
febee44
Expose IntelliJ Platform cache in the `intellijPlatform` extension
hsz Mar 4, 2024
4a79230
Store `coroutines-javaagent.jar` in IntelliJ Platform cache
hsz Mar 4, 2024
954523a
PatchPluginXmlTask: don't patch attribute value if didn't change
hsz Mar 4, 2024
f8ea95c
VerifyPluginConfigurationTaskSpec: warn about the missing IntelliJ Pl…
hsz Mar 4, 2024
a35d591
[build] remove unnecessary steps in reusable-gradleValidation.yml
YannCebron Mar 5, 2024
210a7d5
Make VerifyPluginProjectConfigurationTask rely on specific locations:…
hsz Mar 5, 2024
965492e
CollectorTransformer: introduce `collectIntelliJPlatformJars` helper …
hsz Mar 5, 2024
2fb356d
Introduce module descriptor to limit the IntelliJ Platform dependency…
hsz Mar 5, 2024
6b9ef05
VerifyPluginProjectConfigurationTask: monitor the IntelliJ Platform c…
hsz Mar 5, 2024
635425b
Merge remote-tracking branch 'refs/remotes/hfhbd/noProjectInSettings'…
hsz Mar 5, 2024
a0e7566
Don't call project indirectly in settings plugin #2
hsz Mar 5, 2024
6a57faa
localPlatformArtifacts change revert
hsz Mar 5, 2024
84f6e37
VerifyPluginTaskSpec: remove println
YannCebron Mar 5, 2024
4716471
tests: align names
YannCebron Mar 5, 2024
590b930
BuildSearchableOptionsTaskTest: ignore test
YannCebron Mar 5, 2024
f4f0879
remove obsolete handling of `kotlin.incremental.useClasspathSnapshot`…
YannCebron Mar 5, 2024
4e7ef0a
VerifyPluginProjectConfigurationTaskTest: fixed Windows paths issue
hsz Mar 5, 2024
9bd0df0
VerifyPluginTask: ignore flaky `test plugin against two IDEs`
hsz Mar 5, 2024
2409df6
IntelliJPlatformDependenciesExtension: fixed cache issue in `addTestF…
hsz Mar 5, 2024
5b89350
code cleanup
hsz Mar 6, 2024
32b3b7d
Exclude the `.intellijPlatform` directory from the IDEA module
hsz Mar 6, 2024
a57d4e6
VerifyPluginProjectConfigurationTaskTest: cleanup
YannCebron Mar 6, 2024
4955a87
Switch JAXB to XMLUtil
hsz Mar 6, 2024
65e2ac1
JarSearchableOptionsTask: fix docs link in warning
YannCebron Mar 6, 2024
8b9dc63
Make `testFixturesCompileClasspath` configuration transform and colle…
hsz Mar 6, 2024
08db859
[gh] config.yml fix wording
YannCebron Mar 6, 2024
94d6113
BuildSearchableOptionsTask: fix docs link in warning
YannCebron Mar 6, 2024
76b5441
plugin: fix docs link
YannCebron Mar 6, 2024
11a963e
Cleanup Gradle version catalog
hsz Mar 6, 2024
2ffd863
ModuleDescriptor fixes
hsz Mar 6, 2024
5b9166b
Gradle: set JVM Toolchain to 17
hsz Mar 6, 2024
efd54e1
Gradle: add constraints to XML Util dependencies to pick JVM variant
hsz Mar 6, 2024
32b36d7
Transformers: introduce `runLogging` helper
hsz Mar 7, 2024
4b82c40
Smart `XML.decode` helper with XML parsing issues reporting, ClosestV…
hsz Mar 7, 2024
00cbbeb
Merge remote-tracking branch 'origin/master' into 2.0
hsz Mar 7, 2024
752f6cb
LatestVersionResolver: pass URL to XML decoder
hsz Mar 7, 2024
4495d9f
IntelliJPlatformTestBase: remove build directory after test
YannCebron Mar 7, 2024
9513577
Bump org.jetbrains.dokka from 1.9.10 to 1.9.20
dependabot[bot] Mar 5, 2024
fd28d09
Tests: fix for running tests using Java 17
hsz Mar 7, 2024
c8ac005
Tests: LatestVersionResolverTest
hsz Mar 7, 2024
278905e
[build] GH: disable interrupting running builds
YannCebron Mar 7, 2024
e3b2c19
[build] GH: Java 17
YannCebron Mar 7, 2024
4d86fc8
Revert "[build] GH: Java 17"
YannCebron Mar 7, 2024
a02cbab
Tests: PathResolverTest
hsz Mar 7, 2024
502644a
Unified `ProductInfo.Launch.OS` calculation for the current OS.
hsz Mar 10, 2024
04b647c
Unified method for decoding JSON and XML data
hsz Mar 10, 2024
0262191
[build] Kotlin 1.9.23
YannCebron Mar 11, 2024
c2e9bb2
[build] GH: Java 17
YannCebron Mar 11, 2024
3228361
Introduce `toString` for `Coordinates` model
hsz Mar 10, 2024
0e18762
Make `ModuleDescriptorsValueSource` backward compatible if there's no…
hsz Mar 11, 2024
41d2d12
Merge remote-tracking branch 'origin/master' into 2.0
hsz Mar 11, 2024
873ffd6
Tests: use `use` on every stream to ensure they're closed
hsz Mar 11, 2024
3e3f12c
ModuleDescriptorsValueSource: Add `org.jetbrains.teamcity:serviceMess…
hsz Mar 11, 2024
fa513f2
Tests: ExecutableArchValueSourceTest
hsz Mar 12, 2024
336ea90
Tests: ProductReleasesValueSourceTest
hsz Mar 12, 2024
83407e0
Tests: ProductReleasesValueSourceTest
hsz Mar 12, 2024
a2a9e41
Bump `com.gradle.enterprise` Gradle plugin to `3.16.2`
hsz Mar 12, 2024
4e1fd87
Bump `org.gradle.toolchains.foojay-resolver-convention` Gradle plugin…
hsz Mar 12, 2024
39c4b7a
Tests: use `jvmToolchain()` shorthand for setting JVM
hsz Mar 12, 2024
1310993
Tests: explicitly define Gradle wrapper version
hsz Mar 12, 2024
8099980
Tests: cleanup
hsz Mar 12, 2024
f60e0b2
Tests: enhance file writer helpers with `override` and `prepend` options
hsz Mar 12, 2024
6d60471
Cleanup resolvers
hsz Mar 12, 2024
acdf500
Introduce `ExtractorTransformerTargetNameResolver` for `ExtractorTran…
hsz Mar 12, 2024
da7c2ac
utils cleanup
hsz Mar 12, 2024
675a6f1
Cleanup resolvers
hsz Mar 12, 2024
314732a
Tests: ModuleDescriptorsValueSourceTest cleanup
hsz Mar 12, 2024
5689661
JavaRuntimePathResolver: resolve bundled JBR before JBR from the Java…
hsz Mar 12, 2024
0cffd78
Tests: JavaRuntimePathResolverTest
hsz Mar 12, 2024
8e55c86
Tests: JavaRuntimePathResolverTest — drop a dummy test
hsz Mar 12, 2024
378de39
Tests fixes
hsz Mar 12, 2024
f1c26dd
Tests: fixed resolving current JVM JavaRuntimePathResolverTest
hsz Mar 12, 2024
8ef78bc
Tests: Fixed `BuildPluginTaskTest` failing on Windows due to the uncl…
hsz Mar 13, 2024
8c35423
Tests: Fixed tests failing due to incorrect Windows paths
hsz Mar 13, 2024
6b44c68
Tests: ExtractorTransformerTargetNameResolverTest
hsz Mar 13, 2024
d51393c
ExtractorTransformer checks if requested artifact belongs to our depe…
hsz Mar 13, 2024
51eedf3
Add Gradle `8.7-rc-3` to the test matrix
hsz Mar 13, 2024
90be72d
PlatformKotlinVersions: cleanup
YannCebron Mar 14, 2024
c532fdb
VerifyPluginProjectConfigurationTask: adjust messages and docs
YannCebron Mar 14, 2024
a0b5d80
Tests cleanup
hsz Mar 13, 2024
7cfaba6
Tests: IntelliJPluginVerifierPathResolverTest
hsz Mar 14, 2024
056b737
Tests: MarketplaceZipSignerPathResolverTest
hsz Mar 14, 2024
6ef23cb
Tests: ModuleDescriptorsPathResolverTest
hsz Mar 14, 2024
16e567d
Tests: ProductInfoPathResolverTest
hsz Mar 14, 2024
ed820e0
Tests: fixed `assertFailsWith` exception message assertions
hsz Mar 14, 2024
81dbc02
Drop `RuntimeAware.runtimeExecutable`, use `RuntimeAware.runtimeDirec…
hsz Mar 14, 2024
da2fad8
Make the `IntelliJPlatformType.dependency` optional
hsz Mar 14, 2024
4332009
Make `Aqua, `DataGrip`, `DataSpell`, `RubyMine` binary dependencies a…
hsz Mar 14, 2024
53f1a7a
Merge remote-tracking branch 'origin/master' into 2.0
hsz Mar 14, 2024
84de4f3
GitHub Actions: make build work on 2.0 branch
hsz Mar 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: Documentation
url: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
about: Browse the Gradle IntelliJ Plugin documentation.
url: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html
about: Browse the IntelliJ Platform Gradle Plugin documentation.
- name: Getting Help
url: https://plugins.jetbrains.com/docs/intellij/getting-help.html
about: Check if you search for a help in plugin development.
about: For help with plugin development.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

- [ ] I have read the [**CONTRIBUTING**](https://github.com/JetBrains/gradle-intellij-plugin/blob/master/CONTRIBUTING.md) document.
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the [documentation](https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html).
- [ ] My change requires a change to the [documentation](https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html).
- [ ] I have updated the documentation accordingly.
- [ ] I have included my change in the [**CHANGELOG**](https://github.com/JetBrains/gradle-intellij-plugin/blob/master/CHANGELOG.md).
- [ ] I have added tests to cover my changes.
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# GitHub Workflows

## Matrix testing

`reusable-unitTests.yml`

Gradle versions:

- minimum supported version (`8.1`, see `IntelliJPluginConstants.Constraints.getMINIMAL_GRADLE_VERSION`)
- latest GA (e.g., `8.6`)
- RC of next GA (potentially)

When updating _latest GA_ version, adjust `exclude` section
and adjust `single-unitTest.yml`.

Operating Systems:

- `macos-latest` = Intel arch
- `macos-14` = Apple Silicon arch
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ name: Build
on:
# Trigger the workflow on pushes to only the 'master' branch (this avoids duplicate checks being run, e.g. for dependabot pull requests)
push:
branches: [ master ]
branches: [ '2.0' ]
paths-ignore: [ '**.md', '.teamcity/**' ]
# Trigger the workflow on any pull request
pull_request:
paths-ignore: [ '**.md', '.teamcity/**' ]


# TODO disabled for now
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
#concurrency:
# group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
# cancel-in-progress: true

jobs:

Expand Down Expand Up @@ -62,7 +63,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11
java-version: 17

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11
java-version: 17

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11
java-version: 17

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
Expand Down
21 changes: 3 additions & 18 deletions .github/workflows/reusable-gradleValidation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,8 @@ on: [ workflow_call ]

jobs:
gradleValidation:
name: Gradle Wrapper
name: Gradle Wrapper Validation
runs-on: ubuntu-latest
steps:

- name: Fetch Sources
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true

- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v2.1.1
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2.1.1
6 changes: 4 additions & 2 deletions .github/workflows/reusable-integrationTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ jobs:
fail-fast: false
matrix:
gradleVersion:
- "7.6"
- "8.1"
- "8.6"
- "8.7-rc-3"
os:
- windows-latest
- ubuntu-latest
- macos-latest
- macos-14

steps:

Expand All @@ -32,7 +34,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11
java-version: 17

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-single-unitTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11
java-version: 17

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: unit-tests-${{ inputs.gradleVersion }}-${{ runner.os }}
name: unit-tests-${{ inputs.gradleVersion }}-${{ inputs.os }}
path: |
${{ github.workspace }}/build/reports/tests
${{ github.workspace }}/build/reports/configuration-cache
10 changes: 6 additions & 4 deletions .github/workflows/reusable-unitTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on: [ workflow_call ]

jobs:
baseUnitTest:
name: Gradle 8.5 @ ubuntu-latest
name: Gradle 8.6 @ ubuntu-latest
uses: ./.github/workflows/reusable-single-unitTest.yml
with:
gradleVersion: "8.5"
gradleVersion: "8.6"
os: ubuntu-latest

unitTests:
Expand All @@ -22,12 +22,14 @@ jobs:
fail-fast: false
matrix:
gradleVersion:
- "7.6"
- "8.1"
- "8.6"
- "8.7-rc-3"
os:
- windows-latest
- ubuntu-latest
- macos-latest
- macos-14
exclude:
- os: ubuntu-latest
gradleVersion: "8.5"
gradleVersion: "8.6"
3 changes: 2 additions & 1 deletion .github/workflows/single-unitTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
description: "Gradle Version"
required: true
type: string
default: "8.5"
default: "8.6"
os:
description: "Operation System"
required: true
Expand All @@ -19,6 +19,7 @@ on:
- ubuntu-latest
- windows-latest
- macos-latest
- macos-14
workflow_call:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .teamcity/settings.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ project {
}

val operatingSystems = listOf("Linux", "Windows", "macOS")
val gradleVersions = listOf("7.6", "8.6")
val gradleVersions = listOf("8.1", "8.6", "8.7-rc-3")

val buildChain = sequential {
operatingSystems.forEach { os ->
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@

### Added

- Added `org.jetbrains.intellij.buildFeature.useCacheRedirector` build feature
- Added `IntelliJPlatformCollectorTransformer` and `IntelliJPlatformExtractTransformer` for handling IntelliJ Platform dependency archives
- Added `jetbrainsAnnotations` dependency helper for adding JetBrains Annotations dependency
- Added general `intellijPlatform` along with product-specific dependency helpers for adding IntelliJ Platform dependency

### Changed

- New project name: IntelliJ Platform Gradle Plugin
- New project ID: `org.jetbrains.intellij.platform`
- New Maven coordinates: `org.jetbrains.intellij.platform:intellij-platform-gradle-plugin`
- Move classes under the new package: `org.jetbrains.intellij.platform.gradle`
- Update minimal supported Gradle version to `8.1`

### Added

- Publish the plugin update and mark it as hidden to prevent public release after approval, using the `publishPlugin.hidden` property.
- PatchPluginXmlTask: Wrap the content passed to `<change-notes>` and `<description>` elements with `<![CDATA[ ... ]]>` [#1498](../../issues/1498)

Expand Down Expand Up @@ -64,6 +79,11 @@
### Changed

- Disabled caching for `BuildPluginTask`
- Deprecate `SetupDependenciesTask`

### Removed

- Removed `intellij`, `intellijPlugin`, `intellijPlugins`, `intellijExtra` helper methods from `DependenciesUtils`

## [1.15.0] - 2023-07-07

Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Contributing to the Gradle IntelliJ Plugin
# Contributing to the IntelliJ Platform Gradle Plugin

There are many ways to contribute to the Gradle IntelliJ Plugin project, and each of them is valuable to us.
There are many ways to contribute to the IntelliJ Platform Gradle Plugin project, and each of them is valuable to us.
Every submitted feedback, issue, or pull request is highly appreciated.

## Issue Tracker
Before reporting an issue, please update your configuration to use always the [latest release](https://github.com/JetBrains/gradle-intellij-plugin/releases), or try with the [snapshot release](https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#snapshot-release), which contains not-yet publicly available changes.
Before reporting an issue, please update your configuration to use always the [latest release](https://github.com/JetBrains/gradle-intellij-plugin/releases), or try with the [snapshot release](https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html), which contains not-yet publicly available changes.

If you find your problem unique, and it wasn't yet reported to us, [file an issue](https://github.com/JetBrains/gradle-intellij-plugin/issues/new) using the provided issue template.

## Run Integration Tests
The project provides Unit Tests and Integration Tests to verify if nothing is broken with the real-life project examples.
[Integration Tests](https://github.com/JetBrains/gradle-intellij-plugin/tree/master/integration-tests) provide various different test cases with a dedicated verification scenarios available in `verify.main.kts` files.
Read the [Gradle IntelliJ Plugin Integration Tests](https://github.com/JetBrains/gradle-intellij-plugin/tree/master/integration-tests) document to find more about this kind of test and find out how to create new scenarios.
Read the [IntelliJ Platform Gradle Plugin Integration Tests](INTEGRATION_TESTS.md) document to find more about this kind of test and find out how to create new scenarios.

## Link With Your Project
It is possible to link your plugin project with the Gradle IntelliJ Plugin project, so it'll be loaded and built as a module.
It is possible to link your plugin project with the IntelliJ Platform Gradle Plugin project, so it'll be loaded and built as a module.
To integrate it with another consumer-like project, add the following line in the Gradle settings file and refresh your Gradle configuration:

```kotlin
Expand Down
Loading
Loading