Created
          December 2, 2014 19:12 
        
      - 
      
 - 
        
Save squarepegsys/00ead89f6ecf836072f8 to your computer and use it in GitHub Desktop.  
    Gradle and Groovy
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | sourceSets { | |
| main { | |
| groovy { | |
| // override the default locations, rather than adding additional ones | |
| srcDirs = ['src/main/groovy', 'src/main/java'] | |
| } | |
| java { | |
| srcDirs = [] // don't compile Java code twice | |
| } | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment