Skip to content

Commit

Permalink
WIP: stop needing to bump max version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jmorjsm committed Dec 10, 2023
1 parent db480a2 commit f0de1d8
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 68 deletions.
15 changes: 1 addition & 14 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ plugins {
id("org.jetbrains.intellij") version "1.10.2"
// Gradle Changelog Plugin
id("org.jetbrains.changelog") version "1.3.1"
// Gradle Qodana Plugin
id("org.jetbrains.qodana") version "0.1.13"
}

group = properties("pluginGroup")
Expand All @@ -34,8 +32,7 @@ intellij {
version.set(properties("platformVersion"))
type.set(properties("platformType"))

// Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file.
plugins.set(properties("platformPlugins").split(',').map(String::trim).filter(String::isNotEmpty))
updateSinceUntilBuild.set(false)
}

// Configure Gradle Changelog Plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin
Expand All @@ -44,23 +41,13 @@ changelog {
groups.set(emptyList())
}

// Configure Gradle Qodana Plugin - read more: https://github.com/JetBrains/gradle-qodana-plugin
qodana {
cachePath.set(projectDir.resolve(".qodana").canonicalPath)
reportPath.set(projectDir.resolve("build/reports/inspections").canonicalPath)
saveReport.set(true)
showReport.set(System.getenv("QODANA_SHOW_REPORT")?.toBoolean() ?: false)
}

tasks {
wrapper {
gradleVersion = properties("gradleVersion")
}

patchPluginXml {
version.set(properties("pluginVersion"))
sinceBuild.set(properties("pluginSinceBuild"))
untilBuild.set(properties("pluginUntilBuild"))

// Get the latest available change notes from the changelog file
changeNotes.set(provider {
Expand Down
11 changes: 1 addition & 10 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,12 @@
pluginGroup = com.github.jmorjsm.rosepineintellij
pluginName = rose-pine-intellij
# SemVer format -> https://semver.org
pluginVersion = 0.0.8

# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
pluginSinceBuild = 213
pluginUntilBuild = 232.*
pluginVersion = 0.1.0

# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
platformType = IC
platformVersion = 2022.2

# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
platformPlugins =

# Gradle Releases -> https://github.com/gradle/gradle/releases
gradleVersion = 7.5.1

Expand Down
6 changes: 0 additions & 6 deletions qodana.yml

This file was deleted.

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 @@ -10,7 +10,7 @@
Includes all three of the rose pine themes (rose-pine, rose-pine-dawn, rose-pine-moon).
]]>
</description>

<idea-version since-build="222"/>
<depends>com.intellij.modules.platform</depends>

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

This file was deleted.

3 changes: 0 additions & 3 deletions src/test/testData/rename/foo.xml

This file was deleted.

3 changes: 0 additions & 3 deletions src/test/testData/rename/foo_after.xml

This file was deleted.

0 comments on commit f0de1d8

Please sign in to comment.