qwazer / markdown-confluence-gradle-plugin

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

Error in gradle build #20

Closed SimonBerry555 closed 4 years ago

SimonBerry555 commented 4 years ago

Hi, after setting up my project as per the docs I get this error:

`A problem occurred evaluating root project 'confluenceplugin'.

Could not find method confluence() for arguments [build_ad5yu0b6fmszmkxjotb5kv29j$_run_closure3@18050b42] on root project 'confluenceplugin' of type org.gradle.api.Project.

Any input on what causes this would be helpful - thanks.

qwazer commented 4 years ago

What is the version of gradle you use?

SimonBerry555 commented 4 years ago

./gradlew --version


Gradle 6.3

Build time: 2020-03-24 19:52:07 UTC Revision: bacd40b727b0130eeac8855ae3f9fd9a0b207c60

Kotlin: 1.3.70 Groovy: 2.5.10 Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 JVM: 11.0.6 (Oracle Corporation 11.0.6+8-LTS) OS: Mac OS X 10.15.3 x86_64

SimonBerry555 commented 4 years ago

Any update please?

SimonBerry555 commented 4 years ago

Fixed the issue, my gradle.build looks like:

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.github.qwazer:markdown-confluence-gradle-plugin:0.9.1'
    }
}

plugins {
    id 'java'
}

apply plugin: 'com.github.qwazer.markdown-confluence'