Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
be-hase committed Oct 7, 2024
1 parent d1a7e01 commit 44d58bf
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
cancel-in-progress: true

jobs:
check:
tmp:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
Expand All @@ -21,7 +21,9 @@ jobs:
with:
distribution: temurin
java-version: 17
- name: Set up gradle
uses: gradle/actions/setup-gradle@v4
- name: Check
run: ./gradlew check detektMain detektTest
- name: Test
uses: be-hase/gradle-dependency-diff-action@main
with:
configurations: |
runtimeClasspath
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kotlin-coroutines = "1.9.0"
ktlint = "1.3.1"
micrometer = "1.13.5"
spring-boot = "3.3.4"
spring-data = "3.3.4"
spring-data = "3.3.3"

[libraries]
assertk = { module = "com.willowtreeapps.assertk:assertk-jvm", version = "0.28.1" }
Expand Down
45 changes: 45 additions & 0 deletions new.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
Type-safe project accessors is an incubating feature.
> Task :build-logic:checkKotlinGradlePluginConfigurationErrors
> Task :build-logic:generateExternalPluginSpecBuilders UP-TO-DATE
> Task :build-logic:extractPrecompiledScriptPluginPlugins UP-TO-DATE
> Task :build-logic:compilePluginsBlocks UP-TO-DATE
> Task :build-logic:generatePrecompiledScriptPluginAccessors UP-TO-DATE
> Task :build-logic:generateScriptPluginAdapters UP-TO-DATE
> Task :build-logic:compileKotlin UP-TO-DATE
> Task :build-logic:compileJava NO-SOURCE
> Task :build-logic:pluginDescriptors UP-TO-DATE
> Task :build-logic:processResources UP-TO-DATE
> Task :build-logic:classes UP-TO-DATE
> Task :build-logic:jar UP-TO-DATE

The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.
This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { ... }' DSL if they specify explicit versions, even if the versions are equal.
Please add the Kotlin plugin to the common parent project or the root project, then remove the versions in the subprojects.
If the parent project does not need the plugin, add 'apply false' to the plugin line.
See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
The Kotlin plugin was loaded in the following projects: ':kuery-client-compiler', ':kuery-client-gradle-plugin', ':examples:spring-data-jdbc'

> Task :kuery-client-compiler:functional-test:dependencies

------------------------------------------------------------
Project ':kuery-client-compiler:functional-test' - Kuery client's compiler functional test module.
------------------------------------------------------------

runtimeClasspath - Runtime classpath of 'main'.
+--- org.jetbrains.kotlin:kotlin-stdlib:2.0.20
| \--- org.jetbrains:annotations:13.0
\--- project :kuery-client-core
+--- io.micrometer:micrometer-core:1.13.5
| +--- io.micrometer:micrometer-commons:1.13.5
| +--- io.micrometer:micrometer-observation:1.13.6
| | \--- io.micrometer:micrometer-commons:1.13.5
| +--- org.hdrhistogram:HdrHistogram:2.2.2
| \--- org.latencyutils:LatencyUtils:2.0.3
\--- org.jetbrains.kotlin:kotlin-stdlib:2.0.20 (*)

(*) - Indicates repeated occurrences of a transitive dependency subtree. Gradle expands transitive dependency subtrees only once per project; repeat occurrences only display the root of the subtree, followed by this annotation.

A web-based, searchable dependency report is available by adding the --scan option.

BUILD SUCCESSFUL in 820ms
11 actionable tasks: 2 executed, 9 up-to-date
45 changes: 45 additions & 0 deletions old.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
Type-safe project accessors is an incubating feature.
> Task :build-logic:checkKotlinGradlePluginConfigurationErrors
> Task :build-logic:generateExternalPluginSpecBuilders UP-TO-DATE
> Task :build-logic:extractPrecompiledScriptPluginPlugins UP-TO-DATE
> Task :build-logic:compilePluginsBlocks UP-TO-DATE
> Task :build-logic:generatePrecompiledScriptPluginAccessors UP-TO-DATE
> Task :build-logic:generateScriptPluginAdapters UP-TO-DATE
> Task :build-logic:compileKotlin UP-TO-DATE
> Task :build-logic:compileJava NO-SOURCE
> Task :build-logic:pluginDescriptors UP-TO-DATE
> Task :build-logic:processResources UP-TO-DATE
> Task :build-logic:classes UP-TO-DATE
> Task :build-logic:jar UP-TO-DATE

The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.
This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { ... }' DSL if they specify explicit versions, even if the versions are equal.
Please add the Kotlin plugin to the common parent project or the root project, then remove the versions in the subprojects.
If the parent project does not need the plugin, add 'apply false' to the plugin line.
See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
The Kotlin plugin was loaded in the following projects: ':kuery-client-compiler', ':kuery-client-gradle-plugin', ':examples:spring-data-jdbc'

> Task :kuery-client-compiler:functional-test:dependencies

------------------------------------------------------------
Project ':kuery-client-compiler:functional-test' - Kuery client's compiler functional test module.
------------------------------------------------------------

runtimeClasspath - Runtime classpath of 'main'.
+--- org.jetbrains.kotlin:kotlin-stdlib:2.0.20
| \--- org.jetbrains:annotations:13.0
\--- project :kuery-client-core
+--- io.micrometer:micrometer-core:1.13.5
| +--- io.micrometer:micrometer-commons:1.13.5
| +--- io.micrometer:micrometer-observation:1.13.5
| | \--- io.micrometer:micrometer-commons:1.13.5
| +--- org.hdrhistogram:HdrHistogram:2.2.2
| \--- org.latencyutils:LatencyUtils:2.0.3
\--- org.jetbrains.kotlin:kotlin-stdlib:2.0.20 (*)

(*) - Indicates repeated occurrences of a transitive dependency subtree. Gradle expands transitive dependency subtrees only once per project; repeat occurrences only display the root of the subtree, followed by this annotation.

A web-based, searchable dependency report is available by adding the --scan option.

BUILD SUCCESSFUL in 820ms
11 actionable tasks: 2 executed, 9 up-to-date

0 comments on commit 44d58bf

Please sign in to comment.