NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

How to skip tests with gradle build

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
mindjoy



Joined: 17 Mar 2017
Posts: 3

PostPosted: Fri Apr 21, 2017 4:28 pm    Post subject: How to skip tests with gradle build Reply with quote

I tried using "Execute Custom Tasks" with "clean build" in Tasks, "-x test" in Arguments. However, when executed I got this error:

Task ' test' not found in root project 'MyProject'. Some candidates are: 'test'.
Back to top
mindjoy



Joined: 17 Mar 2017
Posts: 3

PostPosted: Fri Apr 21, 2017 6:22 pm    Post subject: Found a way Reply with quote

Using arguments as separately "-x" and "test", each on separate line.
Back to top
mindjoy



Joined: 17 Mar 2017
Posts: 3

PostPosted: Mon Apr 24, 2017 2:28 pm    Post subject: How to edit/delete custom Gradle task Reply with quote

I used "Custom Tasks" to create new task, but now I cannot edit or delete it. Can it be done?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo