-
-
Notifications
You must be signed in to change notification settings - Fork 129
/
build.gradle
68 lines (57 loc) · 1.59 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
plugins {
id "java"
id "idea"
id "org.jetbrains.intellij" version "1.9.0"
id "pl.allegro.tech.build.axion-release" version "1.14.1"
}
group "net.ashald"
scmVersion {
tag {
prefix = "v"
versionSeparator = ""
}
}
allprojects {
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
project.version = scmVersion.version
ext.jetbrains = [
version : "2022.2",
pycharm : "PythonCore:222.3345.40",
rubymine: "org.jetbrains.plugins.ruby:222.3345.16",
goland : "org.jetbrains.plugins.go:222.3345.90",
scala : "org.intellij.scala:2022.2.3"
]
}
intellij {
version = jetbrains.version
pluginName = "EnvFile"
sameSinceUntilBuild = false
updateSinceUntilBuild = false
downloadSources = true
plugins = [
// This doesn't make any sense as this plugin supposed to be only required on IDEA sub-module
// but it doesn't build without it. Suspect a validation bug in JetBrains Gradle plugin.
"java",
]
}
buildSearchableOptions.enabled = false
dependencies {
implementation project(":envfile-products-idea")
implementation project(":envfile-products-pycharm")
implementation project(":envfile-products-rubymine")
implementation project(":envfile-products-goland")
}
wrapper {
gradleVersion = "7.5.1"
}
runIde.ideDir = java.util.Optional.ofNullable(System.getenv("IDE")).map(File::new).orElse(null)
tasks {
patchPluginXml {
sinceBuild.set("201")
}
}