You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuweni.apache.org by to...@apache.org on 2023/01/29 05:34:36 UTC
[incubator-tuweni] branch main updated: fix gradle warnings by setting excludes in a way gradle can account for
This is an automated email from the ASF dual-hosted git repository.
toulmean pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git
The following commit(s) were added to refs/heads/main by this push:
new 855584e2f fix gradle warnings by setting excludes in a way gradle can account for
new 8ff628e79 Merge pull request #499 from atoulme/fix_gradle_warnings
855584e2f is described below
commit 855584e2f41e8fe35c2eb30039364d55f96873ec
Author: Antoine Toulme <an...@lunar-ocean.com>
AuthorDate: Sat Jan 28 21:08:45 2023 -0800
fix gradle warnings by setting excludes in a way gradle can account for
---
build.gradle | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/build.gradle b/build.gradle
index b320dca14..e078d92be 100644
--- a/build.gradle
+++ b/build.gradle
@@ -169,11 +169,9 @@ subprojects {
apply plugin: 'com.diffplug.spotless'
spotless {
java {
- target project.fileTree(project.projectDir) {
- include '**/*.java'
- exclude '**/generated-src/**/*.*'
- exclude '**/SECP256K1.java'
- }
+ target '**/*.java'
+ targetExclude '**/generated-src/**/*.*'
+ targetExclude '**/SECP256K1.java'
removeUnusedImports()
licenseHeaderFile rootProject.file('gradle/spotless.license.txt')
eclipse().configFile(rootProject.file('gradle/eclipse-java-tuweni-style.xml'))
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org