Advertisement
Guest User

Untitled

a guest
Aug 4th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. apply plugin: 'java'
  2. apply plugin: 'eclipse'
  3. apply plugin: 'gwt'
  4. apply plugin: 'war'
  5. apply plugin: 'java-library'
  6.  
  7. sourceSets {
  8. main {
  9. java {
  10. srcDirs=['src']
  11. }
  12. }
  13. }
  14.  
  15. gwt {
  16. gwtVersion='2.8.0'
  17. modules 'com.wf.idc.facade.IdcFacade'
  18. modulePathPrefix = "/"
  19.  
  20. maxHeapSize = "1024M"
  21.  
  22. }
  23.  
  24. war {
  25. println 'building war'
  26. archiveName('IdcAdmin.war')
  27. destinationDir(file('dist'))
  28.  
  29. from("src") {
  30. include '*.properties'
  31. into ('WEB-INF/classes')
  32. }
  33.  
  34. from("web") {
  35. include 'login'
  36. include 'images'
  37. into ('/')
  38. }
  39.  
  40. from("web") {
  41. include '*/*.*'
  42. include '**.*'
  43. into ('/')
  44. }
  45.  
  46. from("metadata/WEB-INF") {
  47. include '*.xml'
  48. into ('WEB-INF')
  49. }
  50.  
  51. }
  52.  
  53. buildscript {
  54. repositories {
  55. maven {
  56. url 'http://artifactory.wf.com/artifactory/idc_maven_deploy_virtual'
  57. credentials {
  58. username = "${artifactory_user}"
  59. password = "${artifactory_password}"
  60. }
  61. }
  62.  
  63. }
  64. dependencies {
  65. //Check for the latest version here: http://plugins.gradle.org/plugin/com.jfrog.artifactory
  66. classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4+"
  67. classpath 'de.richsource.gradle.plugins:gwt-gradle-plugin:0.6'
  68. }
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement