Skip to content

Commit

Permalink
update setup for PS-2022.3
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Nov 17, 2022
1 parent bf537ba commit 1d7e66d
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 17 deletions.
18 changes: 10 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import org.jetbrains.changelog.markdownToHTML
import org.jetbrains.intellij.ideaDir
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

fun properties(key: String) = project.findProperty(key).toString()

plugins {
id("org.jetbrains.kotlin.jvm") version "1.7.20"
id("org.jetbrains.intellij") version "1.9.0"
id("org.jetbrains.changelog") version "1.3.1"
id("org.jetbrains.kotlin.jvm") version "1.7.21"
id("org.jetbrains.intellij") version "1.10.0"
id("org.jetbrains.changelog") version "2.0.0"
}

group = properties("pluginGroup")
Expand All @@ -22,11 +21,10 @@ dependencies {
}

intellij {
type.set("PS")
version.set("223-EAP-SNAPSHOT")
plugins.set(listOf("com.jetbrains.php:223.7571.15")) // 2022.3 beta 2
pluginName.set(properties("pluginName"))
version.set(properties("platformVersion"))
type.set(properties("platformType"))
downloadSources.set(properties("platformDownloadSources").toBoolean())
plugins.set(properties("platformPlugins").split(',').map(String::trim).filter(String::isNotEmpty))
updateSinceUntilBuild.set(false)
}

Expand All @@ -37,6 +35,10 @@ changelog {
}

tasks {
buildSearchableOptions {
enabled = false
}

withType<JavaCompile> {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## [Unreleased]
### Changed
- Added support for marking entity getters/setters as implicitly used; closes #12
- Fixed support for PHPStorm 2022.3 EAP, minimal version is PHPStorm 2022.3.

## [0.8.3]
### Changed
Expand Down
9 changes: 1 addition & 8 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,4 @@ pluginVersion = 0.9.0

# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
# See https://jb.gg/intellij-platform-builds-list for available build versions.
pluginVerifierIdeVersions = PS-2021.3

platformType = IU
platformVersion = 2021.3.1
platformDownloadSources = true
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
platformPlugins = com.jetbrains.php:213.6461.83
pluginVerifierIdeVersions = PS-2022.3
8 changes: 8 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
rootProject.name = "orm-intellij"

pluginManagement {
repositories {
maven("https://oss.sonatype.org/content/repositories/snapshots/")
mavenCentral()
gradlePluginPortal()
}
}
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<depends>com.intellij.modules.platform</depends>
<depends>com.jetbrains.php</depends>

<idea-version since-build="201.3119"/>
<idea-version since-build="223.7401"/>

<extensions defaultExtensionNs="com.intellij">
<psi.referenceContributor
Expand Down

0 comments on commit 1d7e66d

Please sign in to comment.