2020-09-04 21:02:57 +00:00
|
|
|
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()
|
|
|
|
}
|
|
|
|
|
2020-09-05 19:02:34 +00:00
|
|
|
bootJar {
|
|
|
|
archiveFileName = "flayre-server.${archiveExtension.get()}"
|
|
|
|
}
|
|
|
|
|
2020-09-04 21:02:57 +00:00
|
|
|
dependencies {
|
2020-09-05 18:02:13 +00:00
|
|
|
implementation project(':shared')
|
2020-09-04 21:02:57 +00:00
|
|
|
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()
|
|
|
|
}
|