Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fixes #2491

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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')
}
}
Loading