depot/third_party/nixpkgs/pkgs/by-name/st/stirling-pdf/disable-spotless.patch
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

34 lines
809 B
Diff

diff --git a/build.gradle b/build.gradle
index c206e2f..b1fda33 100644
--- a/build.gradle
+++ b/build.gradle
@@ -69,19 +69,7 @@ launch4j {
messagesInstanceAlreadyExists="Stirling-PDF is already running."
}
-spotless {
- java {
- target project.fileTree('src/main/java')
- googleJavaFormat('1.19.1').aosp().reorderImports(false)
-
- importOrder('java', 'javax', 'org', 'com', 'net', 'io')
- toggleOffOn()
- trimTrailingWhitespace()
- indentWithSpaces()
- endWithNewline()
- }
-}
dependencies {
//security updates
@@ -163,9 +151,6 @@ dependencies {
annotationProcessor 'org.projectlombok:lombok:1.18.28'
}
-tasks.withType(JavaCompile) {
- dependsOn 'spotlessApply'
-}
compileJava {
options.compilerArgs << '-parameters'
}