You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
683 B
25 lines
683 B
plugins {
|
|
id 'org.springframework.boot' version '2.2.2.RELEASE'
|
|
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
group 'com.nbaxp'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
repositories {
|
|
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-rest'
|
|
runtimeOnly 'com.h2database:h2'
|
|
testImplementation('org.springframework.boot:spring-boot-starter-test') {
|
|
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
|
}
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |