forked from testIT-LivingDoc/livingdoc-intellij
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (34 loc) · 1.27 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
plugins {
id "org.jetbrains.intellij" version "0.2.17"
}
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'idea'
apply plugin: 'java'
group 'info.novatec.testit'
version project.properties['livingdoc.intellij.version']
repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://oss.sonatype.org/content/repositories/releases' }
}
dependencies {
compile('info.novatec.testit:livingdoc-cli:' + project.properties['livingdoc.core.version']) {
// Exclude to resolve a conflict with slf4j lib of IntelliJ classpath.
exclude group: 'org.slf4j', module: 'slf4j-api'
// Exclude to resolve a conflict with jaxp implementation in runtime
exclude group: 'xmlrpc', module: 'xmlrpc'
exclude group: 'org.apache.xmlrpc', module: 'xmlrpc-client'
}
// This dependence is necessary for java reflection on the unit tests
testCompile group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.3'
}
intellij {
version = 'IC-2016.3'
println "Building for IntelliJ version: ${version}"
pluginName 'livingdoc-intellij-plugin'
updateSinceUntilBuild false
}
publishPlugin {
username publishPluginUsername
password publishPluginPassword
}