File tree Expand file tree Collapse file tree 4 files changed +64
-0
lines changed Expand file tree Collapse file tree 4 files changed +64
-0
lines changed Original file line number Diff line number Diff line change
1
+ plugins {
2
+ id ' org.springframework.boot' version ' 1.5.18.RELEASE'
3
+ id ' java'
4
+ }
5
+
6
+ repositories {
7
+ repositories {
8
+ maven { url ' http://nexus.mytongche.com/repository/maven-public/' }
9
+ }
10
+ mavenLocal()
11
+ }
12
+
13
+ apply plugin : ' io.spring.dependency-management'
14
+
15
+ group = ' com.polaris'
16
+ version = ' 0.0.1-SNAPSHOT'
17
+ sourceCompatibility = ' 1.8'
18
+
19
+ configurations {
20
+ compileOnly {
21
+ extendsFrom annotationProcessor
22
+ }
23
+ }
24
+
25
+ repositories {
26
+ mavenCentral()
27
+ }
28
+
29
+ dependencies {
30
+ implementation ' org.springframework.boot:spring-boot-starter-web'
31
+ compileOnly ' org.projectlombok:lombok'
32
+ annotationProcessor ' org.projectlombok:lombok'
33
+ testImplementation ' org.springframework.boot:spring-boot-starter-test'
34
+ }
Original file line number Diff line number Diff line change
1
+ package com .polaris ;
2
+
3
+ import org .springframework .boot .SpringApplication ;
4
+ import org .springframework .boot .autoconfigure .SpringBootApplication ;
5
+
6
+ @ SpringBootApplication
7
+ public class PolarisTestApplication {
8
+
9
+ public static void main (String [] args ) {
10
+ SpringApplication .run (PolarisTestApplication .class , args );
11
+ }
12
+
13
+ }
Original file line number Diff line number Diff line change
1
+
Original file line number Diff line number Diff line change
1
+ package com .polaris ;
2
+
3
+ import org .junit .Test ;
4
+ import org .junit .runner .RunWith ;
5
+ import org .springframework .boot .test .context .SpringBootTest ;
6
+ import org .springframework .test .context .junit4 .SpringRunner ;
7
+
8
+ @ RunWith (SpringRunner .class )
9
+ @ SpringBootTest
10
+ public class PolarisTestApplicationTests {
11
+
12
+ @ Test
13
+ public void contextLoads () {
14
+ }
15
+
16
+ }
You can’t perform that action at this time.
0 commit comments