Skip to content
Snippets Groups Projects

Chore/support for intellij 2023.1

Merged Johannes Mey requested to merge chore/support-for-intellij-2023.1 into develop
3 files
+ 14
40
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 10
28
@@ -12,16 +12,16 @@ plugins {
// Java support
id("java")
// 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
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
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
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
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"
}
@@ -32,9 +32,7 @@ version = properties("pluginVersion")
repositories {
mavenCentral()
}
dependencies {
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.18.1")
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
@@ -68,21 +66,14 @@ sourceSets {
// Configure gradle-changelog-plugin plugin.
// Read more: https://github.com/JetBrains/gradle-changelog-plugin
changelog {
version = properties("pluginVersion")
groups = listOf("Added", "Changed", "Deprecated", "Removed", "Fixed")
version.set(properties("pluginVersion"))
groups.set(listOf("Added", "Changed", "Deprecated", "Removed", "Fixed"))
}
// Configure detekt plugin.
// Read more: https://detekt.github.io/detekt/kotlindsl.html
detekt {
config = files("./detekt-config.yml")
buildUponDefaultConfig = true
reports {
html.enabled = true
xml.enabled = false
txt.enabled = false
}
source.from(files("build.gradle.kts"))
}
tasks {
@@ -161,15 +152,6 @@ tasks {
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 {
dependsOn("patchChangelog")
token.set(System.getenv("PUBLISH_TOKEN"))
Loading