qwazer / markdown-confluence-gradle-plugin

Gradle plugin to publish markdown pages to confluence
Apache License 2.0
12 stars 16 forks source link

Error trying to declare plugin #43

Closed benrhine closed 7 months ago

benrhine commented 11 months ago

So I get the following error

with the following config

confluence {
    authenticationType = AuthenticationType.PAT
    authentication = 'personal-access-token'
    restApiUrl = 'https://my-confluence.com/rest/api/'
    spaceKey = 'XXXX'
    sslTrustAll = true
    pageVariables = ['project.name': project.name]
    parseTimeout = 2000L

    pages {
//        page {
//            parentTitle  'projectName'
//            title "projectName-${project.version}"
//            srcFile  file('README.md')
//            labels = ['release-notes', project.name]
//        }
        "testpage2" {
            parentTitle = " Lambdas (2023)"
            srcFile = file("README.md")
        }
    }
}

I would appreciate help understanding this error. In addition when using a previous versions (0.9.3) it complains that "pages" is not public and it will not parse any inner keys in quotes. Appreciate any guidance that can be provided.

qwazer commented 11 months ago

HI. There is no error in your message. Could you please update it?

jigga commented 7 months ago

Closing as there was no follow-up to the error details request.