Skip to content

Commit 61fa1e9

Browse files
committed
add new research docs module
1 parent aabec61 commit 61fa1e9

File tree

5 files changed

+29
-18
lines changed

5 files changed

+29
-18
lines changed

docs/antora.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ title: Semantic Version Plugin
33
version: ~
44
nav:
55
- modules/ROOT/nav.adoc
6+
- modules/research/nav.adoc

docs/modules/ROOT/nav.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
* xref:index.adoc[]
2-
* xref:references.adoc[]

docs/modules/research/nav.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* xref:references.adoc[]
2+
* xref:gradle-plugin.adoc[]

docs/modules/ROOT/pages/references.adoc renamed to docs/modules/research/pages/gradle-plugin.adoc

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
1-
= References
1+
= Gradle Plugin Publishing
22

3-
Information that I found helpful when writing this plugin
4-
5-
== General
6-
7-
. link:https://github.com/nebula-plugins/nebula-publishing-plugin[]
8-
.. link:https://github.com/nebula-plugins/nebula-publishing-plugin/blob/aee3fb093c622e7b7c9eb75cb6dc2838c2bcf340/src/main/groovy/nebula/plugin/publishing/maven/MavenResolvedDependenciesPlugin.groovy[MavenResolvedDependenciesPlugin]
9-
. link:https://stackoverflow.com/questions/20959558/in-gradle-how-can-i-generate-a-pom-file-with-dynamic-dependencies-resolved-to-t[editing pom info]
10-
11-
== pom.withXml
3+
* link:https://plugins.gradle.org/docs/publish-plugin-new[plugin docs]
4+
* link:https://plugins.gradle.org/u/poolside[user account]
125
13-
Editing groovy dom nodes/nodelists/etc is a pain in kotlin. I found these links helpful.
146
15-
. link:https://github.com/Kotlin/kotlinx.dom/blob/0fe219d942047468b361dc0594f1c443ebcf26c3/src/main/kotlin/Dom.kt[kotlinx.dom]
16-
. link:https://github.com/gradle/kotlin-dsl-samples/issues/225[kotlin-dsl-sample issue]
17-
. link:https://github.com/nebula-plugins/nebula-publishing-plugin/blob/575b55c72151e0fae35c4aea69ff77ae8db57455/src/main/groovy/nebula/plugin/publishing/maven/MavenRemoveInvalidDependenciesPlugin.groovy[groovy example]
7+
It's easier to setup credentials via the login task then doing it manually in the gradle.properties file
188

19-
== Gradle Plugin Publishing
9+
[source,bash]
10+
----
11+
❯ gr login
12+
----
2013

21-
* link:https://plugins.gradle.org/docs/publish-plugin-new[plugin docs]
22-
* link:https://plugins.gradle.org/u/poolside[user account]
14+
Then run the publish task:
2315

2416
[source,bash]
2517
----
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
= References
2+
3+
Information that I found helpful when writing this plugin
4+
5+
== General
6+
7+
. link:https://github.com/nebula-plugins/nebula-publishing-plugin[]
8+
.. link:https://github.com/nebula-plugins/nebula-publishing-plugin/blob/aee3fb093c622e7b7c9eb75cb6dc2838c2bcf340/src/main/groovy/nebula/plugin/publishing/maven/MavenResolvedDependenciesPlugin.groovy[MavenResolvedDependenciesPlugin]
9+
. link:https://stackoverflow.com/questions/20959558/in-gradle-how-can-i-generate-a-pom-file-with-dynamic-dependencies-resolved-to-t[editing pom info]
10+
11+
== pom.withXml
12+
13+
Editing groovy dom nodes/nodelists/etc is a pain in kotlin. I found these links helpful.
14+
15+
. link:https://github.com/Kotlin/kotlinx.dom/blob/0fe219d942047468b361dc0594f1c443ebcf26c3/src/main/kotlin/Dom.kt[kotlinx.dom]
16+
. link:https://github.com/gradle/kotlin-dsl-samples/issues/225[kotlin-dsl-sample issue]
17+
. link:https://github.com/nebula-plugins/nebula-publishing-plugin/blob/575b55c72151e0fae35c4aea69ff77ae8db57455/src/main/groovy/nebula/plugin/publishing/maven/MavenRemoveInvalidDependenciesPlugin.groovy[groovy example]

0 commit comments

Comments
 (0)