Execute my groovy script with ant or maven

后端 未结 3 1361
迷失自我
迷失自我 2021-01-02 10:12

I have the following:

  • 1 java class
  • 1 bat file (starts the groovy script)
  • 1 groovy file

All in the same folder.

Now I w

3条回答
  •  清酒与你
    2021-01-02 11:16

    There is a groovy plugin for ANT that can invoke groovy scripts

    
    

    I would recommend combining it with ivy which can download the required jars for you, similar to the Maven example given previously.

    build.xml

    
    
        
            
            
        
    
        
            
    
            
        
    
    
    

    ivy.xml

    
        
        
            
        
    
    

提交回复
热议问题