SHARE
TWEET

Untitled

a guest Jul 16th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sourceSets {
  2.     test {
  3.         java.srcDir file('src/main/java')
  4.         resources.srcDir file('src/main/resources')
  5.     }
  6. }
  7.      
  8. sourceSets {
  9.     test {
  10.         java.srcDir 'src/main/java'
  11.         resources.srcDir 'src/main/resources'
  12.     }
  13. }
  14.      
  15. sourceSets {
  16.     test {
  17.         java.srcDir file('src/main/java/tests') // tests shall contain your tests
  18.         resources.srcDir file('src/main/resources')
  19.         output.resourcesDir = "build/classes/main"
  20.     }
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top