StephenOTT / TAXII-Server

TAXII Server supporting the 2.1 spec.
MIT License
19 stars 6 forks source link

Build requires Java 8 #37

Open jstewart-lgscout opened 4 years ago

jstewart-lgscout commented 4 years ago

Using Java 11 or Java 13, the build is not successful.

➜  TAXII-Server git:(master) ✗ ./gradlew build
> Task :kaptKotlin
Annotation processors discovery from compile classpath is deprecated.
Set 'kapt.includeCompileClasspath = false' to disable discovery.
Run the build with '--info' for more details.
e: /Users/jstewart/dev/TAXII-Server/build/tmp/kapt3/stubs/main/com/github/stephenott/stix/taxii/domain/RequestStatus.java:15: error: invalid method declaration; return type required
        RequestStatus() {
        ^
e: /Users/jstewart/dev/TAXII-Server/build/tmp/kapt3/stubs/main/com/github/stephenott/stix/taxii/domain/RequestStatus.java:27: error: invalid method declaration; return type required
        RequestStatus() {
        ^
w: [kapt] Incremental annotation processing requested, but support is disabled because the following processors are not incremental: javaslang.match.PatternsProcessor (NON_INCREMENTAL).
> Task :kaptKotlin FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':kaptKotlin'.
> Compilation error. See log for more details
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 35s
2 actionable tasks: 2 executed
jstewart-lgscout commented 4 years ago

The build does succeed with Java 8

StephenOTT commented 4 years ago

Believed to be Caused by https://youtrack.jetbrains.com/issue/KT-33052