yasaka
7 years ago
5 changed files with 100 additions and 0 deletions
@ -0,0 +1,27 @@ |
|||
.gradle |
|||
/build/ |
|||
!gradle/wrapper/gradle-wrapper.jar |
|||
|
|||
### STS ### |
|||
.apt_generated |
|||
.classpath |
|||
.factorypath |
|||
.project |
|||
.settings |
|||
.springBeans |
|||
.sts4-cache |
|||
|
|||
### IntelliJ IDEA ### |
|||
.idea |
|||
*.iws |
|||
*.iml |
|||
*.ipr |
|||
/out/ |
|||
|
|||
### NetBeans ### |
|||
/nbproject/private/ |
|||
/build/ |
|||
/nbbuild/ |
|||
/dist/ |
|||
/nbdist/ |
|||
/.nb-gradle/ |
@ -0,0 +1,43 @@ |
|||
buildscript { |
|||
ext { |
|||
springBootVersion = '2.0.3.RELEASE' |
|||
} |
|||
repositories { |
|||
mavenCentral() |
|||
} |
|||
dependencies { |
|||
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") |
|||
} |
|||
} |
|||
|
|||
apply plugin: 'java' |
|||
apply plugin: 'eclipse' |
|||
apply plugin: 'org.springframework.boot' |
|||
apply plugin: 'io.spring.dependency-management' |
|||
|
|||
group = 'com.trgis' |
|||
version = '0.0.1-SNAPSHOT' |
|||
sourceCompatibility = 1.8 |
|||
|
|||
repositories { |
|||
mavenCentral() |
|||
} |
|||
|
|||
|
|||
ext { |
|||
springCloudVersion = 'Finchley.RELEASE' |
|||
} |
|||
|
|||
dependencies { |
|||
compile('org.springframework.cloud:spring-cloud-starter-netflix-eureka-client') |
|||
compile('org.springframework.cloud:spring-cloud-starter-config') |
|||
compile('org.springframework.boot:spring-boot-starter-webflux') |
|||
compile('org.springframework.boot:spring-boot-starter-actuator') |
|||
testCompile('org.springframework.boot:spring-boot-starter-test') |
|||
} |
|||
|
|||
dependencyManagement { |
|||
imports { |
|||
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}" |
|||
} |
|||
} |
@ -0,0 +1,14 @@ |
|||
package com.trgis.sb2sc; |
|||
|
|||
import org.springframework.boot.SpringApplication; |
|||
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient; |
|||
|
|||
@EnableDiscoveryClient |
|||
@SpringBootApplication |
|||
public class Sb2scProviderApplication { |
|||
|
|||
public static void main(String[] args) { |
|||
SpringApplication.run(Sb2scProviderApplication.class, args); |
|||
} |
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.trgis.sb2sc; |
|||
|
|||
import org.junit.Test; |
|||
import org.junit.runner.RunWith; |
|||
import org.springframework.boot.test.context.SpringBootTest; |
|||
import org.springframework.test.context.junit4.SpringRunner; |
|||
|
|||
@RunWith(SpringRunner.class) |
|||
@SpringBootTest |
|||
public class Sb2scApplicationTests { |
|||
|
|||
@Test |
|||
public void contextLoads() { |
|||
} |
|||
|
|||
} |
Loading…
Reference in new issue