Skip to content

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

@violantealessandro

Description

@violantealessandro

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions