Skip to content

Commit

Permalink
chore(build): run spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgogerly committed Jun 11, 2024
1 parent 046e7bc commit 159d56d
Showing 1 changed file with 59 additions and 59 deletions.
118 changes: 59 additions & 59 deletions orca-api/orca-api.gradle
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
/*
* Copyright 2019 Armory, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

plugins {
id("net.ltgt.errorprone") version "4.0.0"
}

apply from: "$rootDir/gradle/kotlin.gradle"
apply from: "$rootDir/gradle/dokka.gradle"
apply from: "$rootDir/gradle/spock.gradle"
apply plugin: "java-library"

sourceSets {
sample
}

dependencies {
errorprone("com.google.errorprone:error_prone_core:2.28.0")

implementation platform("io.spinnaker.kork:kork-bom:$korkVersion")
annotationProcessor platform("io.spinnaker.kork:kork-bom:$korkVersion")

api("io.spinnaker.kork:kork-plugins-api")

//TODO(jonsie): Remove this dependency
api("io.spinnaker.kork:kork-artifacts")

compileOnly("org.projectlombok:lombok")
annotationProcessor("org.projectlombok:lombok")

dokkaHtmlPlugin("org.jetbrains.dokka:kotlin-as-java-plugin:1.4.32")

sampleImplementation(sourceSets.main.runtimeClasspath)
}

tasks.compileGroovy.enabled = false

tasks.withType(JavaCompile) {
options.compilerArgs += [
'-Xlint:all'
]
}

test {
useJUnitPlatform()
}
/*
* Copyright 2019 Armory, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

plugins {
id("net.ltgt.errorprone") version "4.0.0"
}

apply from: "$rootDir/gradle/kotlin.gradle"
apply from: "$rootDir/gradle/dokka.gradle"
apply from: "$rootDir/gradle/spock.gradle"
apply plugin: "java-library"

sourceSets {
sample
}

dependencies {
errorprone("com.google.errorprone:error_prone_core:2.28.0")

implementation platform("io.spinnaker.kork:kork-bom:$korkVersion")
annotationProcessor platform("io.spinnaker.kork:kork-bom:$korkVersion")

api("io.spinnaker.kork:kork-plugins-api")

//TODO(jonsie): Remove this dependency
api("io.spinnaker.kork:kork-artifacts")

compileOnly("org.projectlombok:lombok")
annotationProcessor("org.projectlombok:lombok")

dokkaHtmlPlugin("org.jetbrains.dokka:kotlin-as-java-plugin:1.4.32")

sampleImplementation(sourceSets.main.runtimeClasspath)
}

tasks.compileGroovy.enabled = false

tasks.withType(JavaCompile) {
options.compilerArgs += [
'-Xlint:all'
]
}

test {
useJUnitPlatform()
}

0 comments on commit 159d56d

Please sign in to comment.