From 198131f5e421351745f8f7ce3f2c114ce86c7ba5 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Tue, 21 Jul 2020 20:04:25 +0200 Subject: [PATCH] Remove redundant compiler arguments in Gradle build files See gh-22488 --- .../spring-boot-actuator-autoconfigure/build.gradle | 8 -------- spring-boot-project/spring-boot-actuator/build.gradle | 8 -------- .../spring-boot-test-autoconfigure/build.gradle | 8 -------- 3 files changed, 24 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle b/spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle index d64146863c..069d63273c 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle @@ -146,14 +146,6 @@ dependencies { testRuntimeOnly("org.springframework.security:spring-security-saml2-service-provider") } -compileJava { - options.compilerArgs << "-parameters" -} - -compileTestJava { - options.compilerArgs << "-parameters" -} - test { outputs.dir("${buildDir}/generated-snippets") } diff --git a/spring-boot-project/spring-boot-actuator/build.gradle b/spring-boot-project/spring-boot-actuator/build.gradle index 609e5648ad..68f547b1a0 100644 --- a/spring-boot-project/spring-boot-actuator/build.gradle +++ b/spring-boot-project/spring-boot-actuator/build.gradle @@ -89,11 +89,3 @@ dependencies { testRuntimeOnly("org.junit.platform:junit-platform-launcher") testRuntimeOnly("org.hsqldb:hsqldb") } - -compileJava { - options.compilerArgs << "-parameters" -} - -compileTestJava { - options.compilerArgs << "-parameters" -} \ No newline at end of file diff --git a/spring-boot-project/spring-boot-test-autoconfigure/build.gradle b/spring-boot-project/spring-boot-test-autoconfigure/build.gradle index d713d496dd..8e0df5f1b1 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/build.gradle +++ b/spring-boot-project/spring-boot-test-autoconfigure/build.gradle @@ -82,14 +82,6 @@ dependencies { testRuntimeOnly("org.junit.platform:junit-platform-launcher") } -compileJava { - options.compilerArgs << "-parameters" -} - -compileTestJava { - options.compilerArgs << "-parameters" -} - test { include "**/*Tests.class" }