You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Kotlin Multiplatform library project where we want to publish the artifact to our Jfrog Artifactory. I've followed the guidelines for configuring a Gradle project found here: https://github.com/jfrog/artifactory-gradle-plugin (the official documentation found at jfrog.com always leads to an error page).
My build.gradle.kts section for publishing looks like this:
When running artifactoryPublish I get the following error:
FAILURE: Build completed with 3 failures.
1: Task failed with an exception.
-----------
* What went wrong:
A problem was found with the configuration of task ':lib:artifactoryPublish' (type 'ArtifactoryTask').
- Type 'org.jfrog.gradle.plugin.artifactory.task.ArtifactoryTask' property 'artifactSpecs' doesn't have a configured value.
Reason: This property isn't marked as optional and no value has been configured.
Possible solutions:
1. Assign a value to 'artifactSpecs'.
2. Mark property 'artifactSpecs' as optional.
For more information, please refer to https://docs.gradle.org/8.9/userguide/validation_problems.html#value_not_set in the Gradle documentation.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':extractModuleInfo'.
> A problem occurred configuring root project 'mower-platform'.
> Cannot create a new id after one has been loaded
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================
3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':lib:extractModuleInfo'.
> A problem occurred configuring project ':lib'.
> Failed to apply plugin 'org.gradle.help-tasks'.
> Cannot create a new id after one has been loaded
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================
Reproduction steps
Create a new Kotlin Multiplatform Library and add the Jfrog Artifactory Gradle Plugin according to instructions.
Expected behavior
No response
Artifactory Gradle plugin version
5.2.5
Operating system type and version
macOS 14.6.1
JFrog Artifactory version
No response
Gradle version
8.9
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a Kotlin Multiplatform library project where we want to publish the artifact to our Jfrog Artifactory. I've followed the guidelines for configuring a Gradle project found here: https://github.com/jfrog/artifactory-gradle-plugin (the official documentation found at jfrog.com always leads to an error page).
My
build.gradle.kts
section for publishing looks like this:Current behavior
When running
artifactoryPublish
I get the following error:Reproduction steps
Create a new Kotlin Multiplatform Library and add the Jfrog Artifactory Gradle Plugin according to instructions.
Expected behavior
No response
Artifactory Gradle plugin version
5.2.5
Operating system type and version
macOS 14.6.1
JFrog Artifactory version
No response
Gradle version
8.9
The text was updated successfully, but these errors were encountered: