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
8 changes: 6 additions & 2 deletions .github/workflows/build-on-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ jobs:

- uses: gradle/actions/setup-gradle@v6

- name: Build project and run tests
# `build` does not run Dokka — its tasks are gated to the publishing
# graph — so `dokkaGenerate` is appended to surface documentation
# warnings on each push, before merge, instead of only in the post-merge
# `Publish` job. `failOnWarning` is enabled in the Dokka setup.
- name: Build project, run tests, and check documentation
shell: bash
run: ./gradlew build --stacktrace
run: ./gradlew build dokkaGenerate --stacktrace

# See: https://github.com/marketplace/actions/junit-report-action
- name: Publish Test Report
Expand Down
15 changes: 4 additions & 11 deletions buildSrc/src/main/kotlin/BuildExtensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import io.spine.dependency.build.PluginPublishPlugin
import io.spine.dependency.lib.Protobuf
import io.spine.dependency.local.Compiler
import io.spine.dependency.local.CoreJvmCompiler
import io.spine.dependency.local.McJava
import io.spine.dependency.local.ProtoTap
import io.spine.dependency.test.Kotest
import io.spine.dependency.test.Kover
Expand Down Expand Up @@ -88,12 +87,6 @@ val ScriptHandlerScope.protobuf: Protobuf
val ScriptHandlerScope.coreJvmCompiler: CoreJvmCompiler
get() = CoreJvmCompiler

/**
* Shortcut to [McJava] dependency object for using under `buildScript`.
*/
val ScriptHandlerScope.mcJava: McJava
get() = McJava

/**
* Shortcut to [CoreJvmCompiler] dependency object.
*
Expand All @@ -112,10 +105,10 @@ val ScriptHandlerScope.spineCompiler: Compiler
/**
* Shortcut to [Compiler] dependency object.
*
* This plugin is published at Gradle Plugin Portal.
* But when used in a pair with [mcJava], it cannot be applied directly to a project.
* It is so, because [mcJava] uses [spineCompiler] as its dependency.
* And the buildscript's classpath ends up with both of them.
* This plugin is published at Gradle Plugin Portal. But when another plugin that
* depends on the Compiler is also on the buildscript's classpath, the Compiler
* cannot be applied directly to a project. In such a case, declare it here so that
* it is added to the classpath, then apply it by ID.
*/
val PluginDependenciesSpec.spineCompiler: Compiler
get() = Compiler
Expand Down
79 changes: 0 additions & 79 deletions buildSrc/src/main/kotlin/io/spine/dependency/local/McJava.kt

This file was deleted.

178 changes: 0 additions & 178 deletions buildSrc/src/main/kotlin/io/spine/dependency/local/ProtoData.kt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, TeamDev. All rights reserved.
* Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -38,7 +38,7 @@ package io.spine.dependency.local
)
object ProtoTap {
const val group = Spine.toolsGroup
const val version = "0.14.0"
const val version = "0.15.0"
const val gradlePluginId = "io.spine.prototap"
const val api = "$group:prototap-api:$version"
const val gradlePlugin = "$group:prototap-gradle-plugin:$version"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ private fun Project.readGitHubToken(): String {
}

/**
* Read the personal access token for the `developers@spine.io` account that
* has only the permission to read public GitHub packages.
* Reads the personal access token for the `developers@spine.io` account.
* The token grants only read access to public GitHub packages.
*
* The token is extracted from the archive called `aus.weis` stored under `buildSrc`.
* The archive has such an unusual name to avoid scanning for tokens placed in repositories
Expand Down
Loading
Loading