Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot set publishBuildInfo property within build.gradle.kts using latest Gradle Artifactory plugin #126

Open
violantealessandro opened this issue Oct 24, 2024 · 0 comments
Labels
question Further information is requested

Comments

@violantealessandro
Copy link

violantealessandro commented Oct 24, 2024

How can we help?

Hi,

I'm experiencing problems while setting the "publishBuildInfo" property to "false" when configuring my build.gradle.kts file, using the latest Gradle Artifactory plugin available.

As reported in the official documentation (https://github.com/jfrog/artifactory-gradle-plugin), specifically in the Advance Configurations -> Artifactory Configurations -> Kotlin format paragraph, I could set the "publishBuildInfo" property to "false".

Unfortunately, when doing it, the property isn't found by Android Studio IDE, and the following error is returned:

Unresolved reference: publishBuildInfo

I've already tried to delete the cache.

I don't experience this error when configuring the plugin with applications using Groovy and not Kotlin. Unfortunately, for this application, I can't use Groovy.

In addition, I'm not allowed to publish build-info on Artifactory, and I necessarily need to set this property to false in my application.

If needed, I could attach you my configuration files.

Here there are some additional informations:

Gradle version: 8.0
org.jetbrains.kotlin.android version: 1.9.0

I kindly ask your support to fix this problem as soon as possible.

Thank you so much!

@violantealessandro violantealessandro added the question Further information is requested label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant