31 lines
881 B
Groovy
31 lines
881 B
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.3.3.RELEASE'
|
|
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
sourceCompatibility = '14'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
bootJar {
|
|
archiveFileName = "flayre-server.${archiveExtension.get()}"
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':shared')
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
runtimeOnly 'mysql:mysql-connector-java'
|
|
testImplementation('org.springframework.boot:spring-boot-starter-test') {
|
|
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
|
}
|
|
testImplementation 'org.springframework.security:spring-security-test'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|