Skip to content
Snippets Groups Projects
Commit 7f8ed123 authored by Johannes Mey's avatar Johannes Mey
Browse files

update versions

parent 306c45f6
No related branches found
No related tags found
1 merge request!18Chore/support for intellij 2023.1
Pipeline #16412 failed
...@@ -12,16 +12,16 @@ plugins { ...@@ -12,16 +12,16 @@ plugins {
// Java support // Java support
id("java") id("java")
// Kotlin support // Kotlin support
id("org.jetbrains.kotlin.jvm") version "1.5.10" id("org.jetbrains.kotlin.jvm") version "1.8.20"
// gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin // gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
id("org.jetbrains.intellij") version "1.0" id("org.jetbrains.intellij") version "1.13.3"
// gradle-changelog-plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin // gradle-changelog-plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin
id("org.jetbrains.changelog") version "1.1.2" id("org.jetbrains.changelog") version "2.0.0"
// detekt linter - read more: https://detekt.github.io/detekt/gradle.html // detekt linter - read more: https://detekt.github.io/detekt/gradle.html
id("io.gitlab.arturbosch.detekt") version "1.18.1" id("io.gitlab.arturbosch.detekt") version "1.23.0"
// ktlint linter - read more: https://github.com/JLLeitschuh/ktlint-gradle // ktlint linter - read more: https://github.com/JLLeitschuh/ktlint-gradle
id("org.jlleitschuh.gradle.ktlint") version "10.2.0" id("org.jlleitschuh.gradle.ktlint") version "11.3.2"
// grammrkit - read more: https://plugins.gradle.org/plugin/org.jetbrains.grammarkit
id("org.jetbrains.grammarkit") version "2022.3.1" id("org.jetbrains.grammarkit") version "2022.3.1"
} }
...@@ -32,9 +32,7 @@ version = properties("pluginVersion") ...@@ -32,9 +32,7 @@ version = properties("pluginVersion")
repositories { repositories {
mavenCentral() mavenCentral()
} }
dependencies {
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.18.1")
}
java { java {
sourceCompatibility = JavaVersion.VERSION_1_8 sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8
...@@ -68,21 +66,14 @@ sourceSets { ...@@ -68,21 +66,14 @@ sourceSets {
// Configure gradle-changelog-plugin plugin. // Configure gradle-changelog-plugin plugin.
// Read more: https://github.com/JetBrains/gradle-changelog-plugin // Read more: https://github.com/JetBrains/gradle-changelog-plugin
changelog { changelog {
version = properties("pluginVersion") version.set(properties("pluginVersion"))
groups = listOf("Added", "Changed", "Deprecated", "Removed", "Fixed") groups.set(listOf("Added", "Changed", "Deprecated", "Removed", "Fixed"))
} }
// Configure detekt plugin. // Configure detekt plugin.
// Read more: https://detekt.github.io/detekt/kotlindsl.html // Read more: https://detekt.github.io/detekt/kotlindsl.html
detekt { detekt {
config = files("./detekt-config.yml") source.from(files("build.gradle.kts"))
buildUponDefaultConfig = true
reports {
html.enabled = true
xml.enabled = false
txt.enabled = false
}
} }
tasks { tasks {
...@@ -161,15 +152,6 @@ tasks { ...@@ -161,15 +152,6 @@ tasks {
changeNotes.set(provider { changelog.getLatest().toHTML() }) changeNotes.set(provider { changelog.getLatest().toHTML() })
} }
runPluginVerifier {
ideVersions.set(properties("pluginVerifierIdeVersions").split(',').map(String::trim).filter(String::isNotEmpty))
}
buildSearchableOptions {
// otherwise the build fails
enabled = false
}
publishPlugin { publishPlugin {
dependsOn("patchChangelog") dependsOn("patchChangelog")
token.set(System.getenv("PUBLISH_TOKEN")) token.set(System.getenv("PUBLISH_TOKEN"))
......
# Default detekt configuration:
# https://github.com/detekt/detekt/blob/master/detekt-core/src/main/resources/default-detekt-config.yml
formatting:
Indentation:
continuationIndentSize: 8
ParameterListWrapping:
indentSize: 8
...@@ -7,12 +7,12 @@ pluginVersion = 0.3.1 ...@@ -7,12 +7,12 @@ pluginVersion = 0.3.1
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html # See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions. # for insight into build numbers and IntelliJ Platform versions.
pluginSinceBuild = 222 pluginSinceBuild = 223
pluginUntilBuild = 231.* pluginUntilBuild = 231.*
# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl ## 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. ## See https://jb.gg/intellij-platform-builds-list for available build versions.
pluginVerifierIdeVersions = 2022.2.4, 2022.3.1, 2023.1.2 #pluginVerifierIdeVersions = 2022.2.4, 2022.3.1, 2023.1.2
platformType = IC platformType = IC
platformVersion = 2022.3.1 platformVersion = 2022.3.1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment