Advertisement
Guest User

multi-main/build.gradle

a guest
Jul 14th, 2015
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. allprojects {
  2. group = 'org.multiwar.me'
  3. version = '0.1'
  4. }
  5.  
  6. // all subprojects are assumed to be WARs
  7. subprojects {
  8. apply plugin: 'java'
  9. apply plugin: 'eclipse'
  10. apply plugin: 'war'
  11.  
  12. sourceCompatibility = 1.8
  13. targetCompatibility = 1.8
  14.  
  15. repositories {
  16. jcenter()
  17. }
  18.  
  19. dependencies {
  20. // add here libraries that should be everywhere
  21. // STANDARD CODE
  22. providedCompile(group: 'javax.enterprise', name: 'cdi-api', version: '1.2')
  23.  
  24. // TEST CODE
  25. testCompile 'junit:junit:4.12'
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement