사용자 도구

사이트 도구


intellij_idea:groovy

문서의 이전 판입니다!


IntelliJ IDEA & Groovy

Grape/Grab import

  • Script 에서 Groovy Grape로 지정된 파일을 import 하려면,
  • Project Structure → Libraries → Groovy 라이브러리ivy jar를 추가해준다.
    • 이것보다 좋은것은 Edit Configuration에서 Add module classpath to runner를 해준다.
    • 이때 Module이 module_main 혹은 module_test 둘 중에 올바르게 돼 있어야 한다.
  • 이제 소스상의 @Grab 항목에서 Alt-Enter 를 누르면 import가 된다.
intellij_idea/groovy.1480947022.txt.gz · 마지막으로 수정됨: 2016/12/05 22:40 저자 kwon37xi