diff --git a/build.gradle b/build.gradle index 92cdaf8..e32e4d4 100644 --- a/build.gradle +++ b/build.gradle @@ -5,13 +5,13 @@ buildscript { mavenLocal() } dependencies { - classpath 'org.ysb33r.gradle:bintray:1.3.1' + classpath 'org.ysb33r.gradle:bintray:1.4-SNAPSHOT' classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:2.2.3' } } subprojects { - apply plugin : 'bintray-publish' + apply plugin : 'org.ysb33r.bintray' apply plugin : 'groovy' apply plugin : 'maven' apply plugin : 'idea' diff --git a/doxygen/CHANGELOG.md b/doxygen/CHANGELOG.md index a40bbd3..0019a22 100644 --- a/doxygen/CHANGELOG.md +++ b/doxygen/CHANGELOG.md @@ -4,6 +4,7 @@ CHANGELOG Version 0.2 - Roadmap --------------------- + ['template' not recognised as configuration option](https://github.com/ysb33r/Gradle/issues/8) ++ [Change id to 'org.ysb33r.doxygen'](https://github.com/ysb33r/Gradle/issues/9) Version 0.1 ----------- diff --git a/doxygen/README.md b/doxygen/README.md index e5298db..edfaa52 100644 --- a/doxygen/README.md +++ b/doxygen/README.md @@ -4,7 +4,7 @@ Doxygen Plugin for Gradle [Doxygen](http://www.doxygen.org) is a popular documentation tool, especially in the C/C++ world. This plugin makes it possible to generate documentation for any of the ```Doxygen``` supported languages, if such projects are built with [Gradle](http://www.gradle.org). There is an existing [Doxygen extension](***) for [Ant](http://ant.apache.org), which already -makes it possible for Gradle builds to utlise DOxygen via ```AntBuilder```, however this plugin takes a much more +makes it possible for Gradle builds to utilise ```Doxygen``` via ```AntBuilder```, however this plugin takes a much more _gradlesque_ approach. Requirements @@ -26,11 +26,11 @@ buildscript { jcenter() } dependencies { - classpath 'org.ysb33r.gradle:doxygen:0.1' + classpath 'org.ysb33r.gradle:doxygen:0.2' } } -apply plugin : 'doxygen' +apply plugin : 'org.ysb33r.doxygen' ``` This will create a default task called ```doxygen``` which can be configured. diff --git a/doxygen/build.gradle b/doxygen/build.gradle index d702c31..873a43e 100644 --- a/doxygen/build.gradle +++ b/doxygen/build.gradle @@ -14,7 +14,7 @@ import org.ysb33r.gradle.bintray.BintraySignVersion archivesBaseName = 'doxygen' ext.moduleName = 'doxygen-gradle-plugin' -version = '0.2-SNAPSHOT' +version = '0.2' dependencies { @@ -71,6 +71,7 @@ uploadArchives { vcsUrl 'https://github.com/ysb33r/Gradle.git' autoCreatePackage true updatePackage true + versionAttributes 'gradle-plugin' : "org.ysb33r.doxygen:${group}:${moduleName}" } } diff --git a/doxygen/src/main/resources/META-INF/gradle-plugins/doxygen.properties b/doxygen/src/main/resources/META-INF/gradle-plugins/org.ysb33r.doxygen.properties similarity index 100% rename from doxygen/src/main/resources/META-INF/gradle-plugins/doxygen.properties rename to doxygen/src/main/resources/META-INF/gradle-plugins/org.ysb33r.doxygen.properties diff --git a/doxygen/src/test/groovy/org/ysb33r/gradle/doxygen/DoxygenPluginSpec.groovy b/doxygen/src/test/groovy/org/ysb33r/gradle/doxygen/DoxygenPluginSpec.groovy index c48c7cc..f3602e5 100644 --- a/doxygen/src/test/groovy/org/ysb33r/gradle/doxygen/DoxygenPluginSpec.groovy +++ b/doxygen/src/test/groovy/org/ysb33r/gradle/doxygen/DoxygenPluginSpec.groovy @@ -20,7 +20,7 @@ class DoxygenPluginSpec extends spock.lang.Specification { Project project = ProjectBuilder.builder().build() void setup() { - project.apply plugin:'doxygen' + project.apply plugin:'org.ysb33r.doxygen' } def "Can apply Doxygen plugin to project"() {