mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
Gradle variables cleanup
This commit is contained in:
parent
31bd7db2f0
commit
9cd83d4719
@ -21,9 +21,10 @@ val pluginName: String by project
|
||||
val pluginVersion: String by project
|
||||
val pluginSinceBuild: String by project
|
||||
val pluginUntilBuild: String by project
|
||||
val ideaVersion: String by project
|
||||
val ideaType: String by project
|
||||
val sources: String by project
|
||||
|
||||
val platformType: String by project
|
||||
val platformVersion: String by project
|
||||
val platformDownloadSources: String by project
|
||||
|
||||
group = pluginGroup
|
||||
version = pluginVersion
|
||||
@ -38,17 +39,19 @@ dependencies {
|
||||
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.10.0-RC1")
|
||||
}
|
||||
|
||||
// Configure gradle-intellij-plugin plugin. Read more: https://github.com/JetBrains/gradle-intellij-plugin
|
||||
// Configure gradle-intellij-plugin plugin.
|
||||
// Read more: https://github.com/JetBrains/gradle-intellij-plugin
|
||||
intellij {
|
||||
pluginName = pluginName
|
||||
version = ideaVersion
|
||||
type = ideaType
|
||||
version = platformVersion
|
||||
type = platformType
|
||||
downloadSources = platformDownloadSources.toBoolean()
|
||||
updateSinceUntilBuild = true
|
||||
downloadSources = sources.toBoolean()
|
||||
setPlugins("java")
|
||||
}
|
||||
|
||||
// Configure detekt plugin. Read more: https://detekt.github.io/detekt/kotlindsl.html
|
||||
// Configure detekt plugin.
|
||||
// Read more: https://detekt.github.io/detekt/kotlindsl.html
|
||||
detekt {
|
||||
config = files("./detekt-config.yml")
|
||||
|
||||
|
@ -8,7 +8,6 @@ pluginVersion = 0.0.2
|
||||
pluginSinceBuild = 193
|
||||
pluginUntilBuild = 202
|
||||
|
||||
ideaVersion = 2020.1
|
||||
ideaType = IC
|
||||
sources = true
|
||||
isEAP = false
|
||||
platformVersion = 2020.1
|
||||
platformType = IC
|
||||
platformDownloadSources = true
|
||||
|
Loading…
Reference in New Issue
Block a user