summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRudolf Adamkovič <rudolf@adamkovic.org>2024-05-02 19:06:11 +0200
committerEli Zaretskii <eliz@gnu.org>2024-06-22 11:30:51 +0300
commite1ba4ebb495199d1723bd9c4a1f687a02207ee23 (patch)
treec17733822c39447286e9f52d8a1bb15bcd5af6c5 /etc
parent4f030834994ce06822779fe0f2c316a941ee6ea8 (diff)
Make Compilation mode recognize non-legacy Kotlin/Gradle errors
The Compilation mode recognizes Kotlin/Gradle errors but only in the now legacy format. The current format, which has been in wide use for about a year, is not supported. This change adds support for the current format. * etc/compilation.txt: (symbols): Add examples of non-legacy Kotlin/Gradle warnings and errors. * lisp/progmodes/compile.el: (compilation-error-regexp-alist-alist): Rename 'gradle-kotlin' to 'gradle-kotlin-legacy' and add 'grade-kotlin' that matches the errors and warnings outputted by the current (non-legacy) Kotlin/Gradle. (Bug#70797) * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): Rename 'gradle-kotlin' to 'gradle-kotlin-legacy' and add two test cases for the newly added, non-legacy Kotlin/Gradle warnings and errors.
Diffstat (limited to 'etc')
-rw-r--r--etc/compilation.txt13
1 files changed, 11 insertions, 2 deletions
diff --git a/etc/compilation.txt b/etc/compilation.txt
index 05f0829864c..e4e361ecfc7 100644
--- a/etc/compilation.txt
+++ b/etc/compilation.txt
@@ -186,13 +186,22 @@ Warning near line 10 file arrayclash.f: Module contains no executable
Nonportable usage near line 31 col 9 file assign.f: mixed default and explicit
-* Gradle with kotlin-gradle-plugin
+* Gradle with Kotlin plugin
-symbol: gradle-kotlin
+symbol: grade-kotlin
+
+e: file:///src/Test.kt:267:5 foo: bar
+w: file:///src/Test.kt:267:5 foo: bar
+
+
+* Gradle with Kotlin plugin (legacy)
+
+symbol: gradle-kotlin-legacy
e: /src/Test.kt: (34, 15): foo: bar
w: /src/Test.kt: (34, 15): foo: bar
+
* Gradle Android resource linking
symbol: gradle-android