Gradle

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
To raise new issues or bugs against Gradle, please use forums.gradle.org.
  • Gradle
  • GRADLE-2274

Make the eclipse plugin honour encoding options for Java/Groovy source folders

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Resolution: Unresolved
  • Affects Version/s: 1.0-rc-3
  • Fix Version/s: None

Description

If I set the following in my build.gradle:

apply plugin: 'java'
compileJava.options.encoding = 'UTF-8'

I would expect that, when I invoke 'gradle eclipse', the generated project has the necessary project-specific settings to use the 'UTF-8' encoding on the Java source folders.
Instead, no encoding is currently set on the generated project and all the folders (including the Java source folders) have just the "Inherited from container" encoding option set.

The same applies to Groovy source sets for a project that applies the groovy plugin.

This improvement would be extremely appreciated.

Activity

  • All
  • Comments
  • History
  • Activity
  • TeamCity
  • Commits
  • Source
  • Reviews
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Mauro Molinari
Vote (4)
Watch (4)

Dates

  • Created:
    03/May/12 11:03 AM
    Updated:
    03/May/12 11:03 AM
  • Atlassian JIRA (v5.0.3#729-sha1:bf569e4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Gradle. Try JIRA - bug tracking software for your team.