https://github.com/acdcjunior/springboot2-gradle-subproject-bug
Sample project reproducing issue with Spring-Boot 2.0.0.M6
https://github.com/acdcjunior/springboot2-gradle-subproject-bug
Last synced: over 1 year ago
JSON representation
Sample project reproducing issue with Spring-Boot 2.0.0.M6
- Host: GitHub
- URL: https://github.com/acdcjunior/springboot2-gradle-subproject-bug
- Owner: acdcjunior
- Created: 2017-11-13T19:13:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-14T02:06:15.000Z (over 8 years ago)
- Last Synced: 2025-01-14T05:10:34.097Z (over 1 year ago)
- Language: Java
- Homepage: https://github.com/spring-projects/spring-boot/issues/11008
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Module `sb-aaa` depends on `sb-bbb`, but the addition of
apply plugin: 'org.springframework.boot'
to `sb-bbb`'s [`build.gradle`](sb-bbb/build.gradle#L1) makes the dependency stop working.
$ gradlew clean build
> Task :sb-aaa:compileJava FAILED
...\sb-aaa\src\main\java\sb\bug\aaa\ClassAAA.java:3: error: package sb.bug.bbb does not exist
import sb.bug.bbb.ClassBBB;
^
...\sb-aaa\src\main\java\sb\bug\aaa\ClassAAA.java:7: error: cannot find symbol
public ClassAAA(ClassBBB c) {
^
symbol: class ClassBBB
location: class ClassAAA
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':sb-aaa:compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
4 actionable tasks: 4 executed