From 1f93b272cd08cfd44feef2fe124f3691284e490a Mon Sep 17 00:00:00 2001 From: Graham Date: Sun, 13 Dec 2020 14:40:25 +0000 Subject: [PATCH] Add note about IDEA bug to the README Signed-off-by: Graham --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 3feec5c27d..e53921d17d 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,13 @@ material from being accidentally included in the repository. Run `./gradlew` to download the dependencies, build the code, run the unit tests and package it. +IDEA 2020.3's built-in build system breaks with a cryptic +`java: java.lang.IllegalArgumentException` error message when compiling modules +that use the `deob-annotations` processor. A workaround is to add +`-Djps.track.ap.dependencies=false` to the 'Shared build process VM options' in +File -> Settings -> Build, Execution and Deployment -> Compiler. See +[IDEA-256707][idea-bug] for more information. + ### Versioning OpenRS2 uses [Semantic Versioning][semver]. @@ -74,6 +81,7 @@ available in the `LICENSE` file. [discord]: https://chat.openrs2.org/ [drone-badge]: https://build.openrs2.org/api/badges/openrs2/openrs2/status.svg [drone]: https://build.openrs2.org/openrs2/openrs2/ +[idea-bug]: https://youtrack.jetbrains.com/issue/IDEA-256707 [isc-badge]: https://img.shields.io/badge/license-ISC-informational [isc]: https://opensource.org/licenses/ISC [issue-tracker]: https://git.openrs2.org/openrs2/openrs2/issues