-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
58 lines (49 loc) · 1.37 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
plugins {
id "org.gradle.java"
id "com.scuilion.syntastic" version "0.3.6"
}
apply plugin: 'maven-publish'
apply plugin: 'eclipse'
eclipse {
classpath {
defaultOutputDir = file('build-eclipse')
}
}
repositories {
mavenCentral()
mavenLocal()
}
group = 'com.scuilion.documenter'
version = '0.1'
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
dependencies{
compile 'commons-io:commons-io:2.4'
compile 'javassist:javassist:3.12.1.GA'
compile 'commons-configuration:commons-configuration:1.10'
compile 'com.google.code.gson:gson:2.3.1'
compile 'org.jboss.weld:weld-se:1.0.1-Final'
compile 'org.jboss.weld:weld-core:3.0.0.Alpha6'
testCompile 'junit:junit:4.12'
testCompile 'org.hamcrest:hamcrest-all:1.3'
testCompile 'org.mockito:mockito-all:1.9.5'
testCompile 'org.powermock:powermock-core:1.6.1'
testCompile 'org.powermock:powermock-module-junit4:1.6.1'
testCompile 'org.powermock:powermock-api-mockito:1.6.1'
testRuntime files("${System.properties['java.home']}/../lib/tools.jar")
}
test.doFirst {
copy {
from 'build/resources/main/META-INF/beans.xml'
into 'build/classes/main/META-INF/'
}
copy {
from 'build/resources/test/META-INF/beans.xml'
into 'build/classes/test/META-INF/'
}
}