Skip to content
Open

Dev/253 #3096

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*/


fun environment(key: String) = providers.environmentVariable(key)

Check notice on line 32 in build.gradle.kts

View workflow job for this annotation

GitHub Actions / Qodana for JVM

Public API declaration with implicit return type

For API stability, it's recommended to specify explicitly public \& protected declaration types

buildscript {
dependencies {
Expand All @@ -55,13 +55,13 @@
mavenCentral()
}

val isCI = environment("CI").map { it.toBoolean() }.orElse(false)

Check notice on line 58 in build.gradle.kts

View workflow job for this annotation

GitHub Actions / Qodana for JVM

Public API declaration with implicit return type

For API stability, it's recommended to specify explicitly public \& protected declaration types
val withCoverage = environment("COVERALLS_REPO_TOKEN").orElse(providers.gradleProperty("with_coverage")).map { !it.isEmpty() }.orElse(false)

Check notice on line 59 in build.gradle.kts

View workflow job for this annotation

GitHub Actions / Qodana for JVM

Public API declaration with implicit return type

For API stability, it's recommended to specify explicitly public \& protected declaration types
val platformVersionProvider by extra(project.provider {

Check notice on line 60 in build.gradle.kts

View workflow job for this annotation

GitHub Actions / Qodana for JVM

Public API declaration with implicit return type

For API stability, it's recommended to specify explicitly public \& protected declaration types
providers.gradleProperty("platformVersion").get() + providers.gradleProperty("platformBranch").get() + providers.gradleProperty("platformBuild").get()
})

val pluginProjectsNames = setOf(

Check notice on line 64 in build.gradle.kts

View workflow job for this annotation

GitHub Actions / Qodana for JVM

Public API declaration with implicit return type

For API stability, it's recommended to specify explicitly public \& protected declaration types
"plugin",
"lang.tt2",
"lang.mojo",
Expand Down Expand Up @@ -336,9 +336,9 @@
}
}

val fixClientExecutable by tasks.registering(FixClientExecutable::class)

Check notice on line 339 in build.gradle.kts

View workflow job for this annotation

GitHub Actions / Qodana for JVM

Public API declaration with implicit return type

For API stability, it's recommended to specify explicitly public \& protected declaration types

val runInSplitMode by intellijPlatformTesting.runIde.registering {

Check notice on line 341 in build.gradle.kts

View workflow job for this annotation

GitHub Actions / Qodana for JVM

Public API declaration with implicit return type

For API stability, it's recommended to specify explicitly public \& protected declaration types
splitMode = true
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
splitModeTarget = SplitModeTarget.BOTH
Expand All @@ -347,7 +347,7 @@
}
}

val coverageReportFile = project.layout.buildDirectory.file("reports/jacoco/jacocoRootReport/jacocoRootReport.xml")

Check notice on line 350 in build.gradle.kts

View workflow job for this annotation

GitHub Actions / Qodana for JVM

Public API declaration with implicit return type

For API stability, it's recommended to specify explicitly public \& protected declaration types
sonar {
properties {
property("sonar.projectKey", "Camelcade_Perl5-IDEA")
Expand All @@ -366,7 +366,8 @@

intellijPlatform {
val pluginList = mutableListOf<String>()
val bundledPluginList = mutableListOf(providers.gradleProperty("intelliLangPlugin").get())
val bundledModuleList = mutableListOf(providers.gradleProperty("intelliLangModule").get())
val bundledPluginList = mutableListOf<String>()

if (!isCI.get()) {
pluginList.add("PsiViewer:${providers.gradleProperty("psiViewerVersion").get()}")
Expand Down Expand Up @@ -408,6 +409,7 @@
project(":lang.mason.mason2"),
).forEach { localPlugin(it) }
plugins(pluginList)
bundledModules(bundledModuleList)
bundledPlugins(bundledPluginList)
}
}
Expand All @@ -417,5 +419,5 @@
resolutionStrategy.cacheDynamicVersionsFor(7, "days")
}

fun archiveBasePrefix(projectName: String) = "${rootProject.name}.${projectName}"

Check notice on line 422 in build.gradle.kts

View workflow job for this annotation

GitHub Actions / Qodana for JVM

Public API declaration with implicit return type

For API stability, it's recommended to specify explicitly public \& protected declaration types
fun archiveBaseName(projectName: String) = "${archiveBasePrefix(projectName)}.main"

Check notice on line 423 in build.gradle.kts

View workflow job for this annotation

GitHub Actions / Qodana for JVM

Public API declaration with implicit return type

For API stability, it's recommended to specify explicitly public \& protected declaration types
2 changes: 1 addition & 1 deletion embedded/backend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies {
}
intellijPlatform{
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}
}
Expand Down
2 changes: 1 addition & 1 deletion embedded/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies {
// Plugin dependencies
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
2 changes: 1 addition & 1 deletion embedded/common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
2 changes: 1 addition & 1 deletion embedded/frontend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
2 changes: 1 addition & 1 deletion embedded/frontend/split/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
14 changes: 7 additions & 7 deletions embedded/src/test/resources/unit/distribution/plugin.none.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ Jar files:
Content modules:
- perl5.lang.embedded.common.main (REQUIRED); lib/modules/perl5.lang.embedded.common.main.jar
- Dependencies:
- Module(name=perl5.plugin.common.main)
- perl5.plugin.common.main
- perl5.lang.embedded.backend.main (OPTIONAL); lib/modules/perl5.lang.embedded.backend.main.jar
- Dependencies:
- Module(name=perl5.plugin.backend.main)
- Module(name=perl5.lang.embedded.common.main)
- perl5.plugin.backend.main
- perl5.lang.embedded.common.main
- perl5.lang.embedded.frontend.main (OPTIONAL); lib/modules/perl5.lang.embedded.frontend.main.jar
- Dependencies:
- Module(name=intellij.platform.frontend)
- Module(name=perl5.lang.embedded.common.main)
- intellij.platform.frontend
- perl5.lang.embedded.common.main
- perl5.lang.embedded.frontend.split.main (OPTIONAL); lib/modules/perl5.lang.embedded.frontend.split.main.jar
- Dependencies:
- Module(name=intellij.platform.frontend.split)
- Module(name=perl5.lang.embedded.frontend.main)
- intellij.platform.frontend.split
- perl5.lang.embedded.frontend.main
11 changes: 6 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@
# https://www.jetbrains.com/intellij-repository/releases
# https://www.jetbrains.com/intellij-repository/snapshots
name="Perl5 Support (Camelcade)"
platformVersion=2025
platformBranch=.2
platformVersion=253
platformBranch=.24325.38-EAP-SNAPSHOT
platformBuild=
pluginVersion=
pluginBranch=
pluginBuild=.1
pluginBuild=
platformToolsVersion=
useInstaller=true
useInstaller=false
pycharmVersion=192.4787.5-EAP-SNAPSHOT
clionVersion=192.4787.12-EAP-SNAPSHOT
psiViewerVersion=252.23892.248
intelliLangPlugin=org.intellij.intelliLang
intelliLangModule=intellij.platform.langInjection
intelliLangBackendModule=intellij.platform.langInjection.backend
remoteRunPlugin=org.jetbrains.plugins.remote-run
coveragePlugin=Coverage
javaVersion=21
Expand Down
2 changes: 1 addition & 1 deletion mason/framework/common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
2 changes: 1 addition & 1 deletion mason/framework/frontend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
2 changes: 1 addition & 1 deletion mason/framework/frontend/split/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ Jar files:
Content modules:
- perl5.lang.mason.framework.backend.main (OPTIONAL); lib/modules/perl5.lang.mason.framework.backend.main.jar
- Dependencies:
- Module(name=perl5.plugin.backend.main)
- Module(name=perl5.lang.mason.framework.common.main)
- perl5.plugin.backend.main
- perl5.lang.mason.framework.common.main
- perl5.lang.mason.framework.common.main (REQUIRED); lib/modules/perl5.lang.mason.framework.common.main.jar
- Dependencies:
- Module(name=perl5.plugin.common.main)
- perl5.plugin.common.main
- perl5.lang.mason.framework.frontend.main (OPTIONAL); lib/modules/perl5.lang.mason.framework.frontend.main.jar
- Dependencies:
- Module(name=intellij.platform.frontend.main)
- Module(name=perl5.plugin.frontend.main)
- Module(name=perl5.lang.mason.framework.common.main)
- intellij.platform.frontend.main
- perl5.plugin.frontend.main
- perl5.lang.mason.framework.common.main
- perl5.lang.mason.framework.frontend.split.main (OPTIONAL); lib/modules/perl5.lang.mason.framework.frontend.split.main.jar
- Dependencies:
- Module(name=intellij.platform.frontend.split.main)
- Module(name=perl5.plugin.frontend.split.main)
- Module(name=perl5.lang.mason.framework.frontend.main)
- intellij.platform.frontend.split.main
- perl5.plugin.frontend.split.main
- perl5.lang.mason.framework.frontend.main
2 changes: 1 addition & 1 deletion mason/htmlmason/common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
2 changes: 1 addition & 1 deletion mason/htmlmason/frontend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
2 changes: 1 addition & 1 deletion mason/htmlmason/frontend/split/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ Jar files:
Content modules:
- perl5.lang.mason.htmlmason.common.main (REQUIRED); lib/modules/perl5.lang.mason.htmlmason.common.main.jar
- Dependencies:
- Module(name=perl5.lang.mason.framework.common.main)
- Module(name=perl5.plugin.common.main)
- perl5.lang.mason.framework.common.main
- perl5.plugin.common.main
- perl5.lang.mason.htmlmason.backend.main (OPTIONAL); lib/modules/perl5.lang.mason.htmlmason.backend.main.jar
- Dependencies:
- Module(name=perl5.plugin.backend.main)
- Module(name=perl5.lang.mason.framework.backend.main)
- Module(name=perl5.lang.mason.htmlmason.common.main)
- perl5.plugin.backend.main
- perl5.lang.mason.framework.backend.main
- perl5.lang.mason.htmlmason.common.main
- perl5.lang.mason.htmlmason.frontend.main (OPTIONAL); lib/modules/perl5.lang.mason.htmlmason.frontend.main.jar
- Dependencies:
- Module(name=intellij.platform.frontend)
- Module(name=perl5.lang.mason.framework.frontend.main)
- Module(name=perl5.lang.mason.htmlmason.common.main)
- intellij.platform.frontend
- perl5.lang.mason.framework.frontend.main
- perl5.lang.mason.htmlmason.common.main
- perl5.lang.mason.htmlmason.frontend.split.main (OPTIONAL); lib/modules/perl5.lang.mason.htmlmason.frontend.split.main.jar
- Dependencies:
- Module(name=intellij.platform.frontend.split)
- Module(name=perl5.lang.mason.htmlmason.frontend.main)
- Module(name=perl5.lang.mason.framework.frontend.split.main)
- intellij.platform.frontend.split
- perl5.lang.mason.htmlmason.frontend.main
- perl5.lang.mason.framework.frontend.split.main
2 changes: 1 addition & 1 deletion mason/mason2/common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
2 changes: 1 addition & 1 deletion mason/mason2/frontend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
2 changes: 1 addition & 1 deletion mason/mason2/frontend/split/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
20 changes: 10 additions & 10 deletions mason/mason2/src/test/resources/unit/distribution/plugin.none.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ Jar files:
Content modules:
- perl5.lang.mason.mason2.common.main (REQUIRED); lib/modules/perl5.lang.mason.mason2.common.main.jar
- Dependencies:
- Module(name=perl5.lang.mason.framework.common.main)
- Module(name=perl5.plugin.common.main)
- perl5.lang.mason.framework.common.main
- perl5.plugin.common.main
- perl5.lang.mason.mason2.backend.main (OPTIONAL); lib/modules/perl5.lang.mason.mason2.backend.main.jar
- Dependencies:
- Module(name=perl5.plugin.backend.main)
- Module(name=perl5.lang.mason.mason2.common.main)
- Module(name=perl5.lang.mason.framework.backend.main)
- perl5.plugin.backend.main
- perl5.lang.mason.mason2.common.main
- perl5.lang.mason.framework.backend.main
- perl5.lang.mason.mason2.frontend.main (OPTIONAL); lib/modules/perl5.lang.mason.mason2.frontend.main.jar
- Dependencies:
- Module(name=perl5.lang.mason.framework.frontend.main)
- Module(name=perl5.lang.mason.mason2.common.main)
- perl5.lang.mason.framework.frontend.main
- perl5.lang.mason.mason2.common.main
- perl5.lang.mason.mason2.frontend.split.main (OPTIONAL); lib/modules/perl5.lang.mason.mason2.frontend.split.main.jar
- Dependencies:
- Module(name=intellij.platform.frontend.split)
- Module(name=perl5.lang.mason.mason2.frontend.main)
- Module(name=perl5.lang.mason.framework.frontend.split.main)
- intellij.platform.frontend.split
- perl5.lang.mason.mason2.frontend.main
- perl5.lang.mason.framework.frontend.split.main
2 changes: 1 addition & 1 deletion mojo/common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
2 changes: 1 addition & 1 deletion mojo/frontend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
2 changes: 1 addition & 1 deletion mojo/frontend/split/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down
14 changes: 7 additions & 7 deletions mojo/src/test/resources/unit/distribution/plugin.none.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ Jar files:
Content modules:
- perl5.lang.mojo.common.main (REQUIRED); lib/modules/perl5.lang.mojo.common.main.jar
- Dependencies:
- Module(name=perl5.plugin.common.main)
- perl5.plugin.common.main
- perl5.lang.mojo.backend.main (OPTIONAL); lib/modules/perl5.lang.mojo.backend.main.jar
- Dependencies:
- Module(name=perl5.plugin.backend.main)
- Module(name=perl5.lang.mojo.common.main)
- perl5.plugin.backend.main
- perl5.lang.mojo.common.main
- perl5.lang.mojo.frontend.main (OPTIONAL); lib/modules/perl5.lang.mojo.frontend.main.jar
- Dependencies:
- Module(name=intellij.platform.frontend)
- Module(name=perl5.lang.mojo.common.main)
- intellij.platform.frontend
- perl5.lang.mojo.common.main
- perl5.lang.mojo.frontend.split.main (OPTIONAL); lib/modules/perl5.lang.mojo.frontend.split.main.jar
- Dependencies:
- Module(name=intellij.platform.frontend.split)
- Module(name=perl5.lang.mojo.frontend.main)
- intellij.platform.frontend.split
- perl5.lang.mojo.frontend.main
2 changes: 1 addition & 1 deletion plugin/asdf/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
}
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create(IntelliJPlatformType.IntellijIdeaCommunity, platformVersionProvider.get()){
create(IntelliJPlatformType.IntellijIdeaUltimate, platformVersionProvider.get()){
useInstaller = providers.gradleProperty("useInstaller").get().toBoolean()
}

Expand Down

This file was deleted.

Loading
Loading