Use .gdsl file in a Java project in IntelliJ

后端 未结 1 1293
萌比男神i
萌比男神i 2021-02-01 04:09

I have a file pipeline.gdsl that contains the Syntax for my Jenkins Pipeline DSL. Following this blog post I put the file into the /src folder of my Ja

相关标签:
1条回答
  • 2021-02-01 04:49

    The problem was, that /src was not marked as a source root folder in my project. Creating a folder /src/main/groovy, putting the file in there and marking it as a sources root (right click on the folder -> Mark directory as -> Sources Root) did the trick.

    0 讨论(0)
提交回复
热议问题