Skip to content
Merged
Show file tree
Hide file tree
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
13 changes: 13 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,19 @@ jobs:
path: "**/build/reports/tests"
retention-days: 7

publication-test:
needs: build
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Setup Gradle
uses: gradle/actions/setup-gradle@f29f5a9d7b09a7c6b29859002d29d24e1674c884 # v5.0.1

- name: Publish to local Maven repository
run: ./gradlew publishToMavenLocal

test-ui-e2e:
runs-on: ubuntu-24.04
steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* Copyright (C) 2026 The ORT Server Authors (See <https://github.com/eclipse-apoapsis/ort-server/blob/main/NOTICE>)
*
* 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
*
* https://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.
*
* SPDX-License-Identifier: Apache-2.0
* License-Filename: LICENSE
*/

plugins {
// Apply precompiled plugins.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a follow-up, should applying the application plugin be moved to here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, I will take a note to try this.

id("ort-server-kotlin-jvm-conventions")
}

dependencies {
implementation(enforcedPlatform(libs.kotlinBom))
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ plugins {
}

dependencies {
implementation(enforcedPlatform(libs.kotlinBom))

testImplementation(project(":utils:logging"))
testImplementation(project(":utils:test"))
}
Expand Down
1 change: 0 additions & 1 deletion cli/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import org.jetbrains.kotlin.gradle.plugin.mpp.NativeBuildType

plugins {
id("ort-server-kotlin-multiplatform-conventions")
id("ort-server-publication-conventions")

// Apply third-party plugins.
alias(libs.plugins.kotlinSerialization)
Expand Down
3 changes: 1 addition & 2 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ plugins {
application

// Apply precompiled plugins.
id("ort-server-kotlin-jvm-conventions")
id("ort-server-publication-conventions")
id("ort-server-kotlin-jvm-application-conventions")

// Apply third-party plugins.
alias(libs.plugins.jib)
Expand Down
3 changes: 1 addition & 2 deletions orchestrator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ val dockerBaseImageTag: String by project

plugins {
// Apply precompiled plugins.
id("ort-server-kotlin-jvm-conventions")
id("ort-server-publication-conventions")
id("ort-server-kotlin-jvm-application-conventions")

// Apply third-party plugins.
alias(libs.plugins.jib)
Expand Down
3 changes: 1 addition & 2 deletions tasks/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ val dockerBaseImageTag: String by project

plugins {
// Apply precompiled plugins.
id("ort-server-kotlin-jvm-conventions")
id("ort-server-publication-conventions")
id("ort-server-kotlin-jvm-application-conventions")

// Apply third-party plugins.
alias(libs.plugins.jib)
Expand Down
3 changes: 1 addition & 2 deletions workers/advisor/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ plugins {
application

// Apply precompiled plugins.
id("ort-server-kotlin-jvm-conventions")
id("ort-server-publication-conventions")
id("ort-server-kotlin-jvm-application-conventions")

// Apply third-party plugins.
alias(libs.plugins.jib)
Expand Down
3 changes: 1 addition & 2 deletions workers/analyzer/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ plugins {
application

// Apply precompiled plugins.
id("ort-server-kotlin-jvm-conventions")
id("ort-server-publication-conventions")
id("ort-server-kotlin-jvm-application-conventions")

// Apply third-party plugins.
alias(libs.plugins.jib)
Expand Down
3 changes: 1 addition & 2 deletions workers/config/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ plugins {
application

// Apply precompiled plugins.
id("ort-server-kotlin-jvm-conventions")
id("ort-server-publication-conventions")
id("ort-server-kotlin-jvm-application-conventions")

// Apply third-party plugins.
alias(libs.plugins.jib)
Expand Down
3 changes: 1 addition & 2 deletions workers/evaluator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ plugins {
application

// Apply precompiled plugins.
id("ort-server-kotlin-jvm-conventions")
id("ort-server-publication-conventions")
id("ort-server-kotlin-jvm-application-conventions")

// Apply third-party plugins.
alias(libs.plugins.jib)
Expand Down
3 changes: 1 addition & 2 deletions workers/notifier/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ plugins {
application

// Apply precompiled plugins.
id("ort-server-kotlin-jvm-conventions")
id("ort-server-publication-conventions")
id("ort-server-kotlin-jvm-application-conventions")

// Apply third-party plugins.
alias(libs.plugins.jib)
Expand Down
3 changes: 1 addition & 2 deletions workers/reporter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ plugins {
application

// Apply precompiled plugins.
id("ort-server-kotlin-jvm-conventions")
id("ort-server-publication-conventions")
id("ort-server-kotlin-jvm-application-conventions")

// Apply third-party plugins.
alias(libs.plugins.jib)
Expand Down
3 changes: 1 addition & 2 deletions workers/scanner/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ plugins {
application

// Apply precompiled plugins.
id("ort-server-kotlin-jvm-conventions")
id("ort-server-publication-conventions")
id("ort-server-kotlin-jvm-application-conventions")

// Apply third-party plugins.
alias(libs.plugins.jib)
Expand Down
Loading