From d985637f7b758997450dfc67f895825eeec03279 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 16 Nov 2023 13:01:27 +0000 Subject: [PATCH] Polish build.gradle --- build.gradle | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/build.gradle b/build.gradle index 9bb5859..bce82a0 100644 --- a/build.gradle +++ b/build.gradle @@ -19,23 +19,27 @@ java { } dependencies { - checkstyle "io.spring.javaformat:spring-javaformat-checkstyle:$javaFormatVersion" - implementation platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES) - implementation 'net.sf.biweekly:biweekly:0.6.7' - implementation 'org.apache.httpcomponents.client5:httpclient5' - implementation 'org.springframework.boot:spring-boot-starter-web' - implementation 'org.webjars:webjars-locator-core' - implementation 'org.webjars:fullcalendar:5.11.3' - runtimeOnly platform('com.azure.spring:spring-cloud-azure-dependencies:5.7.0') - runtimeOnly 'com.azure.spring:spring-cloud-azure-starter-keyvault-secrets' - testImplementation 'org.springframework.boot:spring-boot-starter-test' - testRuntimeOnly 'org.junit.platform:junit-platform-launcher' + checkstyle("io.spring.javaformat:spring-javaformat-checkstyle:$javaFormatVersion") + + implementation(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES)) + implementation('net.sf.biweekly:biweekly:0.6.7') + implementation('org.apache.httpcomponents.client5:httpclient5') + implementation('org.springframework.boot:spring-boot-starter-web') + implementation('org.webjars:fullcalendar:5.11.3') + implementation('org.webjars:webjars-locator-core') + + runtimeOnly(platform('com.azure.spring:spring-cloud-azure-dependencies:5.7.0')) + runtimeOnly('com.azure.spring:spring-cloud-azure-starter-keyvault-secrets') + + testImplementation('org.springframework.boot:spring-boot-starter-test') + + testRuntimeOnly('org.junit.platform:junit-platform-launcher') } checkstyle { configProperties = [ 'checkstyle.config.dir' : file('config/checkstyle') ] } -test { +tasks.named("test") { useJUnitPlatform() }