From 777f3c1efa0d66ee5ca33b3ef3614c78f3f73d83 Mon Sep 17 00:00:00 2001 From: hantsy Date: Sat, 21 Sep 2024 18:06:03 +0800 Subject: [PATCH] chore: clean codes --- .github/workflows/webmvc-method-arg-resolver.yml | 8 +++++--- webmvc-method-arg-resolver/build.gradle.kts | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/webmvc-method-arg-resolver.yml b/.github/workflows/webmvc-method-arg-resolver.yml index 824c2fa..2a4dab4 100644 --- a/.github/workflows/webmvc-method-arg-resolver.yml +++ b/.github/workflows/webmvc-method-arg-resolver.yml @@ -23,8 +23,10 @@ jobs: with: java-version: "21" distribution: "zulu" - cache: "maven" - - name: Build with Maven + cache: "gradle" + - name: Build with Gradle run: | - mvn -B -q clean verify --file webmvc-method-arg-resolver/pom.xml + cd webmvc-method-arg-resolver + chmod a+x ./gradlew + ./gradlew clean build diff --git a/webmvc-method-arg-resolver/build.gradle.kts b/webmvc-method-arg-resolver/build.gradle.kts index ea9b769..ae05681 100644 --- a/webmvc-method-arg-resolver/build.gradle.kts +++ b/webmvc-method-arg-resolver/build.gradle.kts @@ -23,6 +23,8 @@ dependencies { implementation("org.springframework.boot:spring-boot-starter-web") implementation("com.fasterxml.jackson.module:jackson-module-kotlin") implementation("org.jetbrains.kotlin:kotlin-reflect") + + testImplementation("org.springframework.boot:spring-boot-starter-webflux") testImplementation("org.springframework.boot:spring-boot-starter-test"){ // use mockk as mocking framework exclude(module = "mockito-core")