문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
gradle:groovy [2012/10/06 19:48] kwon37xi [CompileGroovy] |
gradle:groovy [2013/08/20 22:35] kwon37xi [컴파일 옵션들] |
||
---|---|---|---|
줄 102: | 줄 102: | ||
| source | [[http:// | | source | [[http:// | ||
| destinationDir | File | // | | destinationDir | File | // | ||
- | | groovyClasspath | [[http:// | + | | groovyClasspath | [[http:// |
+ | |||
+ | ===== 컴파일 옵션들 ===== | ||
+ | * http:// | ||
+ | * Groovy 소스 인코딩 지정 <code groovy> | ||
+ | // / | ||
+ | [compileGroovy, | ||
+ | // / | ||
+ | [compileGroovy, | ||
+ | |||
+ | // 길게 풀어쓰면 | ||
+ | compileGroovy { | ||
+ | groovyOptions.encoding = defaultEncoding | ||
+ | options.encoding = defaultEncoding | ||
+ | } | ||
+ | </ | ||