1
- // Establish version and status
2
- ext. githubProjectName = rootProject. name // Change if github project name is not the same as the root project's name
1
+ ext. githubProjectName = rootProject. name
3
2
4
3
buildscript {
5
4
repositories { mavenCentral() }
@@ -12,36 +11,18 @@ allprojects {
12
11
13
12
apply from : file(' gradle/convention.gradle' )
14
13
apply from : file(' gradle/maven.gradle' )
15
- apply from : file(' gradle/check.gradle' )
14
+ // apply from: file('gradle/check.gradle')
16
15
apply from : file(' gradle/license.gradle' )
17
16
apply from : file(' gradle/release.gradle' )
18
17
19
18
subprojects {
20
- group = " com.netflix.${ githubProjectName} " // TEMPLATE: Set to organization of project
21
19
22
- dependencies {
23
- compile ' javax.ws.rs:jsr311-api:1.1.1'
24
- compile ' com.sun.jersey:jersey-core:1.11'
25
- testCompile ' org.testng:testng:6.1.1'
26
- testCompile ' org.mockito:mockito-core:1.8.5'
27
- }
28
- }
20
+ group = " com.netflix.${ githubProjectName} "
29
21
30
- project(' :template-client' ) {
31
- apply plugin : ' java'
32
- dependencies {
33
- compile ' org.slf4j:slf4j-api:1.6.3'
34
- compile ' com.sun.jersey:jersey-client:1.11'
35
- }
36
- }
22
+ sourceSets. test. java. srcDir ' src/main/java'
37
23
38
- project(' :template-server' ) {
39
- apply plugin : ' war'
40
- apply plugin : ' jetty'
41
- dependencies {
42
- compile ' com.sun.jersey:jersey-server:1.11'
43
- compile ' com.sun.jersey:jersey-servlet:1.11'
44
- compile project(' :template-client' )
24
+ tasks. withType(Javadoc ). each {
25
+ it. classpath = sourceSets. main. compileClasspath
45
26
}
46
27
}
47
28
0 commit comments