Guest User

Untitled

a guest
Nov 20th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. buildscript {
  2. repositories {
  3. mavenCentral()
  4. }
  5. dependencies {
  6. classpath("org.springframework.boot:spring-boot-gradle-plugin:1.4.3.RELEASE")
  7. }
  8. }
  9.  
  10. apply plugin: 'java'
  11. apply plugin: 'eclipse'
  12. apply plugin: 'idea'
  13. apply plugin: 'org.springframework.boot'
  14.  
  15. jar {
  16. baseName = 'gs-rest-service'
  17. version = '0.1.0'
  18. }
  19.  
  20. repositories {
  21. mavenCentral()
  22. }
  23.  
  24. sourceCompatibility = 1.8
  25. targetCompatibility = 1.8
  26.  
  27. dependencies {
  28. compile("org.springframework.boot:spring-boot-starter-web")
  29. testCompile('org.springframework.boot:spring-boot-starter-test')
  30. }
  31.  
  32. public static void main(String[] args) {
  33. SpringApplication.run(DemoApplication.class, args);
  34. }
Add Comment
Please, Sign In to add comment