build.gradle 823 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. buildscript {
  2. repositories {
  3. maven { url "https://repo.spring.io/libs-release" }
  4. mavenLocal()
  5. mavenCentral()
  6. }
  7. dependencies {
  8. classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.10.RELEASE")
  9. }
  10. }
  11. apply plugin: 'java'
  12. apply plugin: 'eclipse'
  13. apply plugin: 'idea'
  14. apply plugin: 'spring-boot'
  15. jar {
  16. baseName = 'gs-messaging-stomp-websocket'
  17. version = '0.1.0'
  18. }
  19. sourceCompatibility = 1.7
  20. targetCompatibility = 1.7
  21. repositories {
  22. mavenLocal()
  23. mavenCentral()
  24. maven { url "https://repo.spring.io/libs-release" }
  25. }
  26. dependencies {
  27. compile("org.springframework.boot:spring-boot-starter-websocket")
  28. compile("org.springframework:spring-messaging")
  29. testCompile("junit:junit")
  30. }
  31. task wrapper(type: Wrapper) {
  32. gradleVersion = '1.11'
  33. }