Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65969

kotlin parser doesn't extract warnings

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The built-in Kotlin parser doesn't seem to work. Here's a log example with Kotlin 1.4

      > Task :app:compileDebugKotlin
      w: ATTENTION!
      This build uses unsafe internal compiler arguments:
      
      -XXLanguage:+NonParenthesizedAnnotationsOnFunctionalTypes
      
      This mode is not recommended for production use,
      as no stability/compatibility guarantees are given on
      compiler or generated code. Use it at your own risk!
      
      w: Opt-in requirement marker androix.compose.animation.ExperimentalAnimationApi is unresolved. Please make sure it's present in the module dependencies
      
      > Task :app:compileDebugJavaWithJavac
      

      I don't know if anything can be reliably done with the multiline warning, but it should at least pick up the w: prefix

        Attachments

          Activity

          Show
          drulli Ulli Hafner added a comment - Here are some working examples: https://github.com/jenkinsci/analysis-model/blob/master/src/test/resources/edu/hm/hafner/analysis/parser/kotlin.txt https://github.com/jenkinsci/analysis-model/blob/master/src/test/resources/edu/hm/hafner/analysis/parser/kotlin-gradle.txt

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jameshowe James Howe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: