Skip to content

Commit

Permalink
Build fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Vamsi Manohar <[email protected]>
  • Loading branch information
vamsimanohar committed Jan 31, 2024
1 parent 6fcf31b commit ac394c1
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions doctest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ plugins {
id 'base'
id 'com.wiredforcode.spawn'
id "de.undercouch.download" version "5.3.0"
id 'com.diffplug.spotless' version '6.22.0'
}

apply plugin: 'opensearch.testclusters'
Expand All @@ -24,7 +23,7 @@ task cloneSqlCli(type: Exec) {
commandLine 'git', 'clone', 'https://github.com/opensearch-project/sql-cli.git'
}

task bootstrap(type: Exec, dependsOn: ['cloneSqlCli', 'spotlessJava']) {
task bootstrap(type: Exec, dependsOn: ['cloneSqlCli' ]) {
inputs.file "$projectDir/bootstrap.sh"
outputs.dir "$projectDir/.venv"

Expand Down Expand Up @@ -141,21 +140,3 @@ tasks.register("runRestTestCluster", RunTask) {
description = 'Runs OpenSearch SQL plugin'
useCluster testClusters.docTestCluster;
}

spotless {
java {
target fileTree('.') {
include '**/*.java'
exclude '**/build/**', '**/build-*/**'
}
importOrder()
// licenseHeader("/*\n" +
// " * Copyright OpenSearch Contributors\n" +
// " * SPDX-License-Identifier: Apache-2.0\n" +
// " */\n\n")
removeUnusedImports()
trimTrailingWhitespace()
endWithNewline()
googleJavaFormat('1.17.0').reflowLongStrings().groupArtifact('com.google.googlejavaformat:google-java-format')
}
}

0 comments on commit ac394c1

Please sign in to comment.