-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
82 lines (74 loc) · 1.88 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
plugins {
id 'java'
id 'org.jetbrains.intellij' version '1.17.4'
id "org.datlowe.maven-publish-auth" version "2.0.2"
id 'me.qoomon.git-versioning' version '1.2.3'
}
apply plugin: 'java'
apply plugin: 'org.jetbrains.intellij'
group 'com.datasonnet'
version '3.0.7'
sourceCompatibility = 17
sourceSets {
main {
java {
srcDir 'src/main/gen'
srcDir 'src/main/java'
}
}
}
repositories {
mavenLocal()
mavenCentral()
maven {
name "portx-repository-snapshots"
url "https://portx.jfrog.io/portx/portx-snapshots"
mavenContent {
snapshotsOnly()
}
}
maven {
name "portx-repository-releases"
url "https://portx.jfrog.io/portx/portx-releases"
mavenContent {
releasesOnly()
}
}
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
implementation group: 'com.datasonnet', name: 'datasonnet-mapper', version: '3.0.0'
implementation group: 'io.github.classgraph', name: 'classgraph', version: '4.8.147'
}
gitVersioning {
branch {
pattern = 'master'
versionFormat = '${version}'
}
branch {
pattern = '(?<feature>.+)'
versionFormat = '${version.release}-${feature}-SNAPSHOT'
}
tag {
pattern = 'v(?<tagVersion>[0-9].*)'
versionFormat = '${tagVersion}'
}
commit {
versionFormat = '${version.release}-commit-${commit.short}-SNAPSHOT'
}
}
intellij {
version = ideaVersion
downloadSources = true
type = project.hasProperty('intellij_type') ? project.intellij_type : 'IC'
plugins = ['java','yaml','com.intellij.modules.json']
}
// patchPluginXml {
// changeNotes """
// Add change notes here.<br>
// <em>most HTML tags may be used</em>"""
// }
patchPluginXml {
sinceBuild = "242"
untilBuild = "250.*"
}