File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
main/java/org/javamodularity/moduleplugin/internal
test/java/org/javamodularity/moduleplugin/tasks Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ private void validate() {
28
28
if (!flag .startsWith ("--" )) {
29
29
throw new IllegalArgumentException ("Invalid flag: " + flag );
30
30
}
31
- if (value .isBlank () || value . contains ( " " ) ) {
31
+ if (value .isBlank ()) {
32
32
throw new IllegalArgumentException ("Invalid value: " + value );
33
33
}
34
34
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ void modularizeJavaCompileTask() {
23
23
project .getPlugins ().apply ("java" );
24
24
JavaCompile compileJava = (JavaCompile ) project .getTasks ().getByName (JavaPlugin .COMPILE_JAVA_TASK_NAME );
25
25
26
- FileCollection classpath = project .files ("greeter.api/src/main/java " ); // we need anything on classpath
26
+ FileCollection classpath = project .files ("dummy dir " ); // we need anything on classpath
27
27
compileJava .setClasspath (classpath );
28
28
29
29
CompileModuleOptions moduleOptions = compileJava .getExtensions ()
You can’t perform that action at this time.
0 commit comments