Skip to content

Commit e7a8953

Browse files
author
Mark Perry
committed
Clean up javadoc related production
1 parent 6c86d4f commit e7a8953

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

demo/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ repositories {
2828
mavenCentral()
2929
}
3030

31-
//task javadoc(type: Javadoc, overwrite: true, dependsOn: "java8Javadoc") {
3231
task javadoc(type: Javadoc, overwrite: true) {
3332
def t = createDynamicJavadoc("$projectDir", ["core"])
3433
dependsOn(t)

java8/build.gradle

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,8 @@ repositories {
2020
mavenCentral()
2121
}
2222

23-
//task javadoc(type: Javadoc, overwrite: true, dependsOn: "java8Javadoc") {
24-
//}
25-
2623
task javadoc(type: Javadoc, overwrite: true) {
2724
def t = createDynamicJavadoc("$projectDir", ["core"])
28-
// dependsOn(":$t.name")
2925
dependsOn(t)
3026
}
3127

@@ -36,7 +32,6 @@ retrolambda {
3632
}
3733

3834
dependencies {
39-
// compile 'org.slf4j:slf4j-api:1.7.5'
4035
compile project(":core")
4136

4237
testCompile "junit:junit:4.11"

lib.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11

22
import org.apache.tools.ant.taskdefs.condition.Os
33

4-
54
String findCommand(String dir, String command) {
65
def extension = Os.isFamily(Os.FAMILY_WINDOWS) ? ".exe" : ""
76
def cmd = "$dir/$command$extension"
87
if (! new File(cmd).exists()) {
98
throw new Exception("Command $command not found in dir $dir")
109
}
1110
cmd
12-
1311
}
1412

1513
String findJavaCommand(String s) {
@@ -22,7 +20,6 @@ String findJavaCommand(String s) {
2220

2321
List<String> projectClasses(List<String> list) {
2422
list.collect {
25-
// "$projectDir/../$it/src/main/java"
2623
"$projectDir/../$it/build/classes/main"
2724
}
2825

0 commit comments

Comments
 (0)