-
Notifications
You must be signed in to change notification settings - Fork 808
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
67 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
FROM ubuntu:bionic | ||
RUN apt-get update && apt-get install -y \ | ||
openjdk-11-jdk \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
LABEL maintainer="[email protected]" | ||
ENV GRADLE_USER_HOME /workspace/.gradle | ||
ENV GRADLE_OPTS -Xmx6g | ||
CMD ./gradlew -PenableCrossCompilerPlugin=true --no-daemon orca-web:installDist -x test | ||
FROM ubuntu:bionic | ||
RUN apt-get update && apt-get install -y \ | ||
openjdk-11-jdk \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
LABEL maintainer="[email protected]" | ||
ENV GRADLE_USER_HOME /workspace/.gradle | ||
ENV GRADLE_OPTS -Xmx6g | ||
CMD ./gradlew -PenableCrossCompilerPlugin=true --no-daemon orca-web:installDist -x test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() | ||
} |