forked from ArangoDB-Community/aql-intellij-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (58 loc) · 1.6 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
plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.3.12'
id 'net.researchgate.release' version '2.6.0'
}
apply plugin: 'idea'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
apply plugin: 'net.researchgate.release'
group 'com.arangodb'
sourceCompatibility = 1.8
repositories {
mavenCentral()
mavenLocal()
maven { url 'https://jitpack.io' }
maven { url 'https://dl.bintray.com/jetbrains/intellij-plugin-service' }
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile('com.arangodb:arangodb-java-driver:5.0.2') {
exclude group: 'org.slf4j', module: 'slf4j-api'
}
compile "com.fasterxml.jackson.core:jackson-core:2.9.7"
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.7'
}
patchPluginXml{
sinceBuild '172'
untilBuild '184'
}
intellij {
version '2017.3'
pluginName 'aql'
}
/*
* Works like maven release plugin, see:
* https://github.com/researchgate/gradle-release
*
* */
release {
revertOnFail = true
failOnCommitNeeded = true
failOnPublishNeeded = true
failOnUpdateNeeded = true
failOnSnapshotDependencies = true
failOnUnversionedFiles = true
/* pushReleaseVersionBranch = false*/
failOnUnversionedFiles = true
buildTasks = ['build']
tagTemplate = '$name-$version'
preCommitText = '[Gradle release]'
preTagCommitMessage = 'Gradle Pre tag commit: '
tagCommitMessage = 'Gradle Creating tag: '
newVersionCommitMessage = ' New version commit: '
git {
requireBranch = 'master'
pushToRemote = 'origin'
}
}