|
@@ -1,5 +1,3 @@
|
1
|
|
-apply plugin: 'java'
|
2
|
|
-
|
3
|
1
|
configurations {
|
4
|
2
|
bundle
|
5
|
3
|
|
|
@@ -8,33 +6,6 @@ configurations {
|
8
|
6
|
}
|
9
|
7
|
}
|
10
|
8
|
|
11
|
|
-sourceSets {
|
12
|
|
- main {
|
13
|
|
- java {
|
14
|
|
- srcDir 'src'
|
15
|
|
- }
|
16
|
|
- resources {
|
17
|
|
- srcDir 'res'
|
18
|
|
- }
|
19
|
|
- }
|
20
|
|
- test {
|
21
|
|
- java {
|
22
|
|
- srcDir 'test'
|
23
|
|
- }
|
24
|
|
- }
|
25
|
|
-}
|
26
|
|
-
|
27
|
|
-sourceCompatibility = 1.7
|
28
|
|
-targetCompatibility = 1.7
|
29
|
|
-
|
30
|
|
-
|
31
|
|
-repositories {
|
32
|
|
- mavenCentral()
|
33
|
|
- maven {
|
34
|
|
- url 'http://nexus.dmdirc.com/nexus/content/repositories/thirdparty/'
|
35
|
|
- }
|
36
|
|
-}
|
37
|
|
-
|
38
|
9
|
dependencies {
|
39
|
10
|
compile group: 'com.google.code.findbugs', name: 'jsr305', version: '2.+'
|
40
|
11
|
compile group: 'com.squareup.dagger', name: 'dagger-compiler', version: '1.2.1'
|
|
@@ -48,7 +19,7 @@ dependencies {
|
48
|
19
|
bundle project(':modules:parser')
|
49
|
20
|
}
|
50
|
21
|
|
51
|
|
-subprojects {
|
|
22
|
+allprojects {
|
52
|
23
|
apply plugin: 'java'
|
53
|
24
|
|
54
|
25
|
sourceSets {
|
|
@@ -69,4 +40,16 @@ subprojects {
|
69
|
40
|
|
70
|
41
|
sourceCompatibility = 1.7
|
71
|
42
|
targetCompatibility = 1.7
|
|
43
|
+
|
|
44
|
+ repositories {
|
|
45
|
+ mavenCentral()
|
|
46
|
+ maven {
|
|
47
|
+ url 'http://nexus.dmdirc.com/nexus/content/repositories/thirdparty/'
|
|
48
|
+ }
|
|
49
|
+ }
|
|
50
|
+
|
|
51
|
+ dependencies {
|
|
52
|
+ testCompile group: 'junit', name: 'junit', version: '4.+'
|
|
53
|
+ testCompile group: 'org.mockito', name: 'mockito-all', version: '1.+'
|
|
54
|
+ }
|
72
|
55
|
}
|